Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile") translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.8 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.487/1.487, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001576/0.001576, allocations: 116.1 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1928/0.1928, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.524e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09917, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.4819, allocations: 78.89 MB / 0.5147 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001417/0.4821, allocations: 61.88 kB / 0.5148 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002871/0.485, allocations: 1.422 MB / 0.5162 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.485, allocations: 0 / 0.5162 GB, free: 10.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.485, allocations: 0 / 0.5162 GB, free: 10.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00019/0.4852, allocations: 345.7 kB / 0.5165 GB, free: 9.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4852, allocations: 11.75 kB / 0.5165 GB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.4853, allocations: 7.859 kB / 0.5165 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.595e-05/0.4853, allocations: 165.1 kB / 0.5167 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4854, allocations: 0 / 0.5167 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.4854, allocations: 4 kB / 0.5167 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.071e-05/0.4854, allocations: 0 / 0.5167 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.83e-05/0.4855, allocations: 35.48 kB / 0.5167 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4855, allocations: 0 / 0.5167 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.4855, allocations: 0 / 0.5167 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4855, allocations: 3.953 kB / 0.5167 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.805e-05/0.4856, allocations: 126.2 kB / 0.5168 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.4856, allocations: 26.98 kB / 0.5169 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.185e-05/0.4857, allocations: 8.859 kB / 0.5169 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.4857, allocations: 0 / 0.5169 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.4857, allocations: 60.11 kB / 0.5169 GB, free: 9.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.4857, allocations: 0 / 0.5169 GB, free: 9.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000158/0.4859, allocations: 36.06 kB / 0.517 GB, free: 9.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.4859, allocations: 80.95 kB / 0.517 GB, free: 9.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.97e-05/0.4859, allocations: 88.38 kB / 0.5171 GB, free: 8.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.486, allocations: 25.7 kB / 0.5171 GB, free: 8.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.372e-05/0.486, allocations: 84.17 kB / 0.5172 GB, free: 8.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.486, allocations: 0.9844 kB / 0.5172 GB, free: 8.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.486, allocations: 0 / 0.5172 GB, free: 8.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.4861, allocations: 317.3 kB / 0.5175 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/0.4861, allocations: 0 / 0.5175 GB, free: 8.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.4861, allocations: 3.844 kB / 0.5175 GB, free: 8.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.4861, allocations: 0 / 0.5175 GB, free: 8.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4861, allocations: 0 / 0.5175 GB, free: 8.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.432e-05/0.4862, allocations: 39.8 kB / 0.5176 GB, free: 8.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4862, allocations: 42.84 kB / 0.5176 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4862, allocations: 1.75 kB / 0.5176 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4863, allocations: 0 / 0.5176 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.4863, allocations: 0 / 0.5176 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4863, allocations: 0 / 0.5176 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.4863, allocations: 3.938 kB / 0.5176 GB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.4863, allocations: 0 / 0.5176 GB, free: 8.438 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.4863, allocations: 134.3 kB / 0.5177 GB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.4864, allocations: 6.094 kB / 0.5177 GB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.047e-05/0.4864, allocations: 7.703 kB / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.4864, allocations: 0 / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.4864, allocations: 3.812 kB / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4864, allocations: 0 / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.418e-05/0.4864, allocations: 124.6 kB / 0.5179 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4865, allocations: 0 / 0.5179 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-06/0.4865, allocations: 7.891 kB / 0.5179 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4865, allocations: 0 / 0.5179 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4865, allocations: 7.906 kB / 0.5179 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.4865, allocations: 0 / 0.5179 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4865, allocations: 7.984 kB / 0.5179 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.473e-05/0.4866, allocations: 59.89 kB / 0.518 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.4866, allocations: 83.61 kB / 0.518 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4866, allocations: 3.953 kB / 0.518 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-06/0.4866, allocations: 0 / 0.518 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.4867, allocations: 3.984 kB / 0.518 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4867, allocations: 3.812 kB / 0.518 GB, free: 7.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.308e-05/0.4867, allocations: 83.25 kB / 0.5181 GB, free: 7.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4867, allocations: 0 / 0.5181 GB, free: 7.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.4869, allocations: 24.84 kB / 0.5182 GB, free: 7.863 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003264/0.4872, allocations: 188.9 kB / 0.5183 GB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.4873, allocations: 60.91 kB / 0.5184 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4873, allocations: 0 / 0.5184 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.4873, allocations: 55.25 kB / 0.5184 GB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.403e-05/0.4874, allocations: 4.125 kB / 0.5184 GB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001137/0.4876, allocations: 42.09 kB / 0.5185 GB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.4877, allocations: 0.6787 MB / 0.5192 GB, free: 6.852 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.969e-06/0.4877, allocations: 0 / 0.5192 GB, free: 6.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-06/0.4877, allocations: 7.438 kB / 0.5192 GB, free: 6.844 MB / 346.7 MB Notification: Performance of SimCode: time 4e-07/0.4877, allocations: 3.906 kB / 0.5192 GB, free: 6.844 MB / 346.7 MB Notification: Performance of Templates: time 0.002354/0.49, allocations: 0.568 MB / 0.5197 GB, free: 6.738 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe 2>&1)