Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") [: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.002054/0.002054, allocations: 183.7 kB / 7.461 MB, free: 2.508 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.23/1.23, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001595/0.001595, allocations: 117.6 kB / 247.1 MB, free: 6.379 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.1681/0.1681, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.52e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 54.88 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.586/4.688, allocations: 2.606 GB / 3.043 GB, free: 148.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/4.688, allocations: 80.83 kB / 3.043 GB, free: 148.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7501/5.438, allocations: 229.2 MB / 3.267 GB, free: 82.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.576e-05/5.438, allocations: 7.719 kB / 3.267 GB, free: 82.99 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005577/5.444, allocations: 1.285 MB / 3.268 GB, free: 82.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/5.444, allocations: 11.88 kB / 3.268 GB, free: 82.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/5.446, allocations: 262.3 kB / 3.268 GB, free: 82.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009026/5.447, allocations: 424.7 kB / 3.269 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/5.447, allocations: 18.69 kB / 3.269 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/5.447, allocations: 17.91 kB / 3.269 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005743/5.448, allocations: 338.4 kB / 3.269 GB, free: 81.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/5.448, allocations: 406.2 kB / 3.269 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/5.448, allocations: 3.688 kB / 3.269 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/5.448, allocations: 0 / 3.269 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/5.448, allocations: 7.219 kB / 3.269 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/5.455, allocations: 3.962 MB / 3.273 GB, free: 78.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/5.455, allocations: 218.8 kB / 3.273 GB, free: 78.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/5.455, allocations: 128.1 kB / 3.274 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.108/5.563, allocations: 50.39 MB / 3.323 GB, free: 49.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/5.563, allocations: 45.27 kB / 3.323 GB, free: 49.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 3.627e-06/5.563, allocations: 7.469 kB / 3.323 GB, free: 49.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.002206/5.565, allocations: 0.5258 MB / 3.323 GB, free: 48.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/5.565, allocations: 106.5 kB / 3.323 GB, free: 48.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/5.566, allocations: 286.3 kB / 3.324 GB, free: 48.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/5.566, allocations: 29.58 kB / 3.324 GB, free: 48.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/5.566, allocations: 201.6 kB / 3.324 GB, free: 48.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/5.566, allocations: 77.44 kB / 3.324 GB, free: 48.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/5.566, allocations: 0 / 3.324 GB, free: 48.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/5.566, allocations: 353.5 kB / 3.324 GB, free: 48.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/5.566, allocations: 119.8 kB / 3.324 GB, free: 48.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/5.567, allocations: 246.7 kB / 3.325 GB, free: 47.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009489/5.568, allocations: 240.5 kB / 3.325 GB, free: 47.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/5.568, allocations: 0 / 3.325 GB, free: 47.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001956/5.57, allocations: 0.6588 MB / 3.326 GB, free: 47.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003284/5.57, allocations: 1.477 MB / 3.327 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/5.57, allocations: 3.406 kB / 3.327 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/5.57, allocations: 7.344 kB / 3.327 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/5.57, allocations: 126.8 kB / 3.327 GB, free: 45.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/5.57, allocations: 3.906 kB / 3.327 GB, free: 45.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/5.571, allocations: 78.33 kB / 3.327 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/5.571, allocations: 23 kB / 3.327 GB, free: 45.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/5.571, allocations: 3.969 kB / 3.327 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/5.572, allocations: 412.7 kB / 3.328 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/5.572, allocations: 3.969 kB / 3.328 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/5.572, allocations: 6.75 kB / 3.328 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/5.573, allocations: 121 kB / 3.328 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/5.573, allocations: 11.19 kB / 3.328 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/5.573, allocations: 63.39 kB / 3.328 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/5.573, allocations: 18.34 kB / 3.328 GB, free: 45.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001622/5.573, allocations: 112.6 kB / 3.328 GB, free: 45.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/5.574, allocations: 197 kB / 3.328 GB, free: 45.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/5.577, allocations: 1.77 MB / 3.33 GB, free: 44.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/5.577, allocations: 22.11 kB / 3.33 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/5.577, allocations: 0 / 3.33 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/5.577, allocations: 11.31 kB / 3.33 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/5.58, allocations: 2.479 MB / 3.332 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/5.58, allocations: 1.375 kB / 3.332 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/5.581, allocations: 76 kB / 3.332 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/5.581, allocations: 6.906 kB / 3.332 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/5.581, allocations: 13.66 kB / 3.332 GB, free: 43.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/5.581, allocations: 1.219 kB / 3.332 GB, free: 43.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/5.581, allocations: 4.406 kB / 3.332 GB, free: 43.63 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00247/5.583, allocations: 1.459 MB / 3.334 GB, free: 42.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/5.584, allocations: 206.4 kB / 3.334 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/5.584, allocations: 1.156 kB / 3.334 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/5.584, allocations: 45.14 kB / 3.334 GB, free: 42.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/5.584, allocations: 35.11 kB / 3.334 GB, free: 42.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/5.584, allocations: 18.06 kB / 3.334 GB, free: 42.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002546/5.585, allocations: 253.7 kB / 3.334 GB, free: 42.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006017/5.591, allocations: 1.173 MB / 3.335 GB, free: 42.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.009672/5.6, allocations: 1.628 MB / 3.337 GB, free: 41.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/5.602, allocations: 0.9336 MB / 3.338 GB, free: 41.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/5.602, allocations: 0 / 3.338 GB, free: 41.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007444/5.603, allocations: 0.6953 MB / 3.339 GB, free: 41.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/5.604, allocations: 170.1 kB / 3.339 GB, free: 41.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03653/5.64, allocations: 14.46 MB / 3.353 GB, free: 31.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/5.641, allocations: 0.9966 MB / 3.354 GB, free: 30.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.943e-06/5.641, allocations: 4 kB / 3.354 GB, free: 30.32 MB / 490.7 MB Notification: Performance of Templates: time 0.2631/5.904, allocations: 35.2 MB / 3.388 GB, free: 117.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)