Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [: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.003498/0.003498, allocations: 181.5 kB / 7.457 MB, free: 2.504 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.233/1.233, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.00178/0.001781, allocations: 123.7 kB / 247.1 MB, free: 6.324 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.1694/0.1694, allocations: 39.94 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.381e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08294, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/0.405, allocations: 78.7 MB / 0.514 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4053, allocations: 65.98 kB / 0.5141 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005619/0.4109, allocations: 1.473 MB / 0.5155 GB, free: 10 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.411, allocations: 0.9375 kB / 0.5155 GB, free: 10 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003454/0.4113, allocations: 364.1 kB / 0.5159 GB, free: 9.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.4114, allocations: 9.25 kB / 0.5159 GB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.4115, allocations: 7.719 kB / 0.5159 GB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.4116, allocations: 165 kB / 0.516 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4116, allocations: 0.875 kB / 0.516 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4117, allocations: 7.375 kB / 0.516 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.4118, allocations: 29 kB / 0.5161 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.4119, allocations: 49.91 kB / 0.5161 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4119, allocations: 0.9375 kB / 0.5161 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4119, allocations: 3.938 kB / 0.5161 GB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4119, allocations: 2.359 kB / 0.5161 GB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.4121, allocations: 148.9 kB / 0.5163 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.4123, allocations: 49.05 kB / 0.5163 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.4124, allocations: 24.23 kB / 0.5163 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.4126, allocations: 114.2 kB / 0.5164 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.4127, allocations: 34.56 kB / 0.5165 GB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.4127, allocations: 1.25 kB / 0.5165 GB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.03918/0.4518, allocations: 2.164 MB / 0.5186 GB, free: 8.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.4519, allocations: 52.78 kB / 0.5186 GB, free: 8.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.452, allocations: 98.44 kB / 0.5187 GB, free: 8.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.452, allocations: 25.7 kB / 0.5188 GB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.4521, allocations: 81.08 kB / 0.5188 GB, free: 8.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.4521, allocations: 67.34 kB / 0.5189 GB, free: 8.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.4522, allocations: 3.938 kB / 0.5189 GB, free: 8.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.4523, allocations: 320 kB / 0.5192 GB, free: 8.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.4526, allocations: 135.9 kB / 0.5193 GB, free: 8.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.4528, allocations: 136.5 kB / 0.5195 GB, free: 8.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.4534, allocations: 198.9 kB / 0.5197 GB, free: 8.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4534, allocations: 0 / 0.5197 GB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009742/0.4544, allocations: 416.6 kB / 0.5201 GB, free: 7.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4544, allocations: 5.781 kB / 0.5201 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4545, allocations: 4 kB / 0.5201 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4545, allocations: 5.953 kB / 0.5201 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.455, allocations: 82.73 kB / 0.5202 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.455, allocations: 8.797 kB / 0.5202 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.4553, allocations: 28.05 kB / 0.5202 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.4553, allocations: 15.86 kB / 0.5202 GB, free: 7.957 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 9.851e-05/0.4554, allocations: 106.6 kB / 0.5203 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.4555, allocations: 8.312 kB / 0.5203 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.4569, allocations: 0.5365 MB / 0.5208 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4569, allocations: 6.562 kB / 0.5208 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.457, allocations: 0.875 kB / 0.5208 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.457, allocations: 5.828 kB / 0.5209 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.4593, allocations: 0.8546 MB / 0.5217 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.4593, allocations: 6.797 kB / 0.5217 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.4596, allocations: 73.52 kB / 0.5218 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4596, allocations: 3.75 kB / 0.5218 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.4597, allocations: 14.39 kB / 0.5218 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.4597, allocations: 6.344 kB / 0.5218 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.4597, allocations: 10.38 kB / 0.5218 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008193/0.4605, allocations: 492.3 kB / 0.5223 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.4606, allocations: 85.08 kB / 0.5223 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.4606, allocations: 6.516 kB / 0.5224 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.4609, allocations: 26.89 kB / 0.5224 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4609, allocations: 18.36 kB / 0.5224 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.4609, allocations: 21.14 kB / 0.5224 GB, free: 6.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.713e-05/0.461, allocations: 83.16 kB / 0.5225 GB, free: 6.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001358/0.4623, allocations: 343.2 kB / 0.5228 GB, free: 6.684 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 0.001376/0.4637, allocations: 264.8 kB / 0.5231 GB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.4642, allocations: 261.2 kB / 0.5233 GB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4643, allocations: 0 / 0.5233 GB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.4645, allocations: 114.1 kB / 0.5234 GB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.4646, allocations: 11.94 kB / 0.5234 GB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.4659, allocations: 362 kB / 0.5238 GB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.4663, allocations: 0.7464 MB / 0.5245 GB, free: 5.578 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4663, allocations: 1.312 kB / 0.5245 GB, free: 5.578 MB / 346.7 MB Notification: Performance of Templates: time 0.02593/0.4922, allocations: 17.13 MB / 0.5412 GB, free: 7.57 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)