Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001481/0.001481, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.757/1.757, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001877/0.001878, allocations: 111.5 kB / 252.6 MB, free: 4.781 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.213/0.213, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.362e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08878, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4532, allocations: 79.18 MB / 0.5218 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.4535, allocations: 72.42 kB / 0.5219 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002222/0.4557, allocations: 0.8961 MB / 0.5227 GB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4557, allocations: 0 / 0.5227 GB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4557, allocations: 6.672 kB / 0.5227 GB, free: 10.04 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000183/0.4559, allocations: 339.6 kB / 0.5231 GB, free: 9.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.456, allocations: 11.53 kB / 0.5231 GB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.456, allocations: 3.953 kB / 0.5231 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.493e-05/0.4561, allocations: 166.9 kB / 0.5232 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4561, allocations: 3.938 kB / 0.5232 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.4561, allocations: 3.875 kB / 0.5232 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4563, allocations: 58.5 kB / 0.5233 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4563, allocations: 0 / 0.5233 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4563, allocations: 3.875 kB / 0.5233 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.4563, allocations: 4 kB / 0.5233 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.4564, allocations: 52.81 kB / 0.5234 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.4565, allocations: 170 kB / 0.5235 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.4566, allocations: 74.73 kB / 0.5236 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.4567, allocations: 28.05 kB / 0.5236 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.4569, allocations: 248.3 kB / 0.5239 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4569, allocations: 38.41 kB / 0.5239 GB, free: 8.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4569, allocations: 0 / 0.5239 GB, free: 8.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000156/0.4571, allocations: 77.8 kB / 0.524 GB, free: 8.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.4571, allocations: 51.41 kB / 0.524 GB, free: 8.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.4572, allocations: 88.78 kB / 0.5241 GB, free: 8.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.4572, allocations: 29.39 kB / 0.5241 GB, free: 8.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.495e-05/0.4572, allocations: 82.95 kB / 0.5242 GB, free: 8.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.4573, allocations: 38.03 kB / 0.5242 GB, free: 8.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.4573, allocations: 0 / 0.5242 GB, free: 8.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.4573, allocations: 322.8 kB / 0.5246 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.4573, allocations: 11.62 kB / 0.5246 GB, free: 8.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.4574, allocations: 27.19 kB / 0.5246 GB, free: 8.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.4574, allocations: 18.16 kB / 0.5246 GB, free: 8.223 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4574, allocations: 0 / 0.5246 GB, free: 8.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.78e-05/0.4575, allocations: 84.97 kB / 0.5247 GB, free: 8.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4575, allocations: 3.844 kB / 0.5247 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4576, allocations: 0 / 0.5247 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4576, allocations: 4 kB / 0.5247 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.4577, allocations: 23.08 kB / 0.5247 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4577, allocations: 0 / 0.5247 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.4577, allocations: 0.6875 kB / 0.5247 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4577, allocations: 3.844 kB / 0.5247 GB, free: 8.172 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 (10): * Single equations (assignments): 10 * 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 4.099e-05/0.4578, allocations: 108.9 kB / 0.5248 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.4578, allocations: 7.656 kB / 0.5248 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.4579, allocations: 106.4 kB / 0.5249 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4579, allocations: 0 / 0.5249 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.458, allocations: 0 / 0.5249 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.458, allocations: 0 / 0.5249 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.078e-05/0.4581, allocations: 180.7 kB / 0.5251 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4581, allocations: 384 / 0.5251 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.4581, allocations: 19.45 kB / 0.5251 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4581, allocations: 3.844 kB / 0.5251 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4582, allocations: 0 / 0.5251 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4582, allocations: 3.938 kB / 0.5251 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4582, allocations: 0 / 0.5251 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.4583, allocations: 115.6 kB / 0.5252 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.4583, allocations: 80.86 kB / 0.5253 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.4583, allocations: 0 / 0.5253 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.4584, allocations: 3.812 kB / 0.5253 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.4584, allocations: 7.828 kB / 0.5253 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4584, allocations: 7.781 kB / 0.5253 GB, free: 7.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.327e-05/0.4584, allocations: 75.28 kB / 0.5254 GB, free: 7.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4584, allocations: 4.094 kB / 0.5254 GB, free: 7.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.4586, allocations: 23.16 kB / 0.5254 GB, free: 7.52 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001179/0.4587, allocations: 112 kB / 0.5255 GB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.4588, allocations: 51.17 kB / 0.5256 GB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4588, allocations: 0 / 0.5256 GB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.4589, allocations: 35.5 kB / 0.5256 GB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.183e-05/0.459, allocations: 7.953 kB / 0.5256 GB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.4592, allocations: 96.33 kB / 0.5257 GB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4593, allocations: 0.6887 MB / 0.5264 GB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.4593, allocations: 4 kB / 0.5264 GB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.4594, allocations: 11.44 kB / 0.5264 GB, free: 6.504 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4594, allocations: 0 / 0.5264 GB, free: 6.504 MB / 346.7 MB Notification: Performance of Templates: time 0.002259/0.4616, allocations: 0.6181 MB / 0.527 GB, free: 5.906 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)