Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001862/0.001862, allocations: 185.3 kB / 7.459 MB, free: 460 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.515/1.515, allocations: 194.2 MB / 202.1 MB, free: 12.9 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.1127/0.1127, allocations: 113.8 kB / 247.1 MB, free: 6.383 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1863/0.1863, allocations: 39.95 MB / 331.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.043e-06, allocations: 0 / 392.8 MB, free: 79.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 54.88 MB / 447.6 MB, free: 24.83 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4327, allocations: 83.4 MB / 0.5186 GB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.433, allocations: 59.34 kB / 0.5187 GB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.01536/0.4484, allocations: 5.682 MB / 0.5242 GB, free: 9.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4484, allocations: 3.344 kB / 0.5242 GB, free: 9.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005097/0.4489, allocations: 490.6 kB / 0.5247 GB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.449, allocations: 8.438 kB / 0.5247 GB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008916/0.4499, allocations: 66.03 kB / 0.5247 GB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.45, allocations: 188.7 kB / 0.5249 GB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.45, allocations: 9 kB / 0.5249 GB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.4501, allocations: 18.44 kB / 0.525 GB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002464/0.4503, allocations: 118.8 kB / 0.5251 GB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.4506, allocations: 147.3 kB / 0.5252 GB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4506, allocations: 0 / 0.5252 GB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4507, allocations: 5.062 kB / 0.5252 GB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4507, allocations: 5.656 kB / 0.5252 GB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.4514, allocations: 0.5396 MB / 0.5257 GB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.4519, allocations: 207.9 kB / 0.5259 GB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.452, allocations: 52.95 kB / 0.526 GB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4521, allocations: 1.828 kB / 0.526 GB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4521, allocations: 39.78 kB / 0.526 GB, free: 8.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.4521, allocations: 2.734 kB / 0.526 GB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0002838/0.4524, allocations: 140.5 kB / 0.5262 GB, free: 8.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.4524, allocations: 58.94 kB / 0.5262 GB, free: 8.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.4525, allocations: 93.47 kB / 0.5263 GB, free: 7.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4525, allocations: 25.7 kB / 0.5263 GB, free: 7.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.4525, allocations: 128.8 kB / 0.5265 GB, free: 7.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.4526, allocations: 86.84 kB / 0.5265 GB, free: 7.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.4526, allocations: 1.25 kB / 0.5265 GB, free: 7.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.4527, allocations: 325.4 kB / 0.5269 GB, free: 7.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.4527, allocations: 30.41 kB / 0.5269 GB, free: 7.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.4528, allocations: 46.06 kB / 0.5269 GB, free: 7.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.4529, allocations: 34.98 kB / 0.527 GB, free: 7.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4529, allocations: 1.344 kB / 0.527 GB, free: 7.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001999/0.4531, allocations: 136.7 kB / 0.5271 GB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4531, allocations: 4.781 kB / 0.5271 GB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4531, allocations: 1.438 kB / 0.5271 GB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4531, allocations: 1.406 kB / 0.5271 GB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.4535, allocations: 105 kB / 0.5272 GB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4535, allocations: 1.562 kB / 0.5272 GB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.4536, allocations: 15.56 kB / 0.5272 GB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.4536, allocations: 8.562 kB / 0.5272 GB, free: 7.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 7.803e-05/0.4537, allocations: 101 kB / 0.5273 GB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.4537, allocations: 13.78 kB / 0.5273 GB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.4538, allocations: 24.41 kB / 0.5274 GB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4538, allocations: 9.609 kB / 0.5274 GB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4538, allocations: 3.906 kB / 0.5274 GB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4538, allocations: 9.344 kB / 0.5274 GB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.454, allocations: 215.6 kB / 0.5276 GB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4541, allocations: 0 / 0.5276 GB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.4544, allocations: 100.8 kB / 0.5277 GB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4544, allocations: 1.625 kB / 0.5277 GB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.4545, allocations: 3.984 kB / 0.5277 GB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4545, allocations: 1.312 kB / 0.5277 GB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4545, allocations: 0 / 0.5277 GB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/0.4547, allocations: 253.1 kB / 0.5279 GB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.4547, allocations: 93.73 kB / 0.528 GB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4548, allocations: 0 / 0.528 GB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.4549, allocations: 7.781 kB / 0.528 GB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.4549, allocations: 13 kB / 0.528 GB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4549, allocations: 11.75 kB / 0.5281 GB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.432e-05/0.455, allocations: 81.66 kB / 0.5281 GB, free: 6.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.4552, allocations: 42.91 kB / 0.5282 GB, free: 6.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 8.142e-05/0.4553, allocations: 94.19 kB / 0.5283 GB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.4555, allocations: 109.4 kB / 0.5284 GB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4555, allocations: 4 kB / 0.5284 GB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.4556, allocations: 63.38 kB / 0.5284 GB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.4557, allocations: 1.375 kB / 0.5284 GB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.4562, allocations: 218.3 kB / 0.5286 GB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4564, allocations: 0.7576 MB / 0.5294 GB, free: 5.633 MB / 350.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4564, allocations: 0 / 0.5294 GB, free: 5.633 MB / 350.1 MB Notification: Performance of Templates: time 0.003216/0.4596, allocations: 1.213 MB / 0.5306 GB, free: 5.035 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1)