Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") [: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.002768/0.002768, allocations: 183.2 kB / 7.459 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.124/1.124, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001744/0.001744, allocations: 118.1 kB / 247.1 MB, free: 6.371 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.179/0.179, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.342e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 54.88 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.847/4.957, allocations: 2.607 GB / 3.044 GB, free: 84.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/4.957, allocations: 81.45 kB / 3.044 GB, free: 84.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.847/6.805, allocations: 0.4942 GB / 3.538 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001165/6.805, allocations: 31.98 kB / 3.538 GB, free: 39.02 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008753/6.814, allocations: 2.079 MB / 3.54 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/6.814, allocations: 11.81 kB / 3.54 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006699/6.821, allocations: 0.7615 MB / 3.541 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/6.823, allocations: 0.8593 MB / 3.542 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/6.823, allocations: 41.75 kB / 3.542 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/6.823, allocations: 51.12 kB / 3.542 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001932/6.825, allocations: 0.9123 MB / 3.543 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/6.827, allocations: 1.086 MB / 3.544 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/6.827, allocations: 6.188 kB / 3.544 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/6.827, allocations: 7.844 kB / 3.544 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/6.827, allocations: 22.97 kB / 3.544 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.763/7.59, allocations: 202.4 MB / 3.741 GB, free: 82.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/7.591, allocations: 421 kB / 3.742 GB, free: 82.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/7.591, allocations: 194.2 kB / 3.742 GB, free: 82.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03653/7.628, allocations: 16.37 MB / 3.758 GB, free: 74.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/7.628, allocations: 42.42 kB / 3.758 GB, free: 74.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=43): time 3.546e-06/7.628, allocations: 0 / 3.758 GB, free: 74.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43): time 0.004648/7.633, allocations: 1.212 MB / 3.759 GB, free: 73.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/7.633, allocations: 212.4 kB / 3.759 GB, free: 73.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/7.634, allocations: 0.6695 MB / 3.76 GB, free: 73.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/7.634, allocations: 25.7 kB / 3.76 GB, free: 73.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/7.634, allocations: 0.4996 MB / 3.761 GB, free: 73.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/7.634, allocations: 154.2 kB / 3.761 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/7.634, allocations: 0 / 3.761 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001163/7.634, allocations: 390.7 kB / 3.761 GB, free: 72.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/7.635, allocations: 278.8 kB / 3.761 GB, free: 72.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/7.635, allocations: 0.6876 MB / 3.762 GB, free: 72.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/7.637, allocations: 0.6218 MB / 3.763 GB, free: 72.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/7.637, allocations: 11.88 kB / 3.763 GB, free: 72.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005596/7.643, allocations: 1.98 MB / 3.765 GB, free: 72.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008481/7.644, allocations: 5.046 MB / 3.77 GB, free: 66.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/7.644, allocations: 11.03 kB / 3.77 GB, free: 66.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/7.644, allocations: 26.66 kB / 3.77 GB, free: 66.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/7.645, allocations: 319.4 kB / 3.77 GB, free: 66.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/7.645, allocations: 26.88 kB / 3.77 GB, free: 66.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/7.646, allocations: 255.6 kB / 3.77 GB, free: 66.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/7.646, allocations: 65.98 kB / 3.77 GB, free: 66.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/7.647, allocations: 3.938 kB / 3.77 GB, free: 66.92 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002772/7.649, allocations: 1.044 MB / 3.771 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/7.649, allocations: 14.44 kB / 3.771 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/7.649, allocations: 21.84 kB / 3.771 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/7.65, allocations: 306 kB / 3.772 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/7.65, allocations: 28.89 kB / 3.772 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/7.651, allocations: 179.8 kB / 3.772 GB, free: 66.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/7.651, allocations: 66.8 kB / 3.772 GB, free: 66.85 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 127 * 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.0002112/7.652, allocations: 151.6 kB / 3.772 GB, free: 66.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/7.653, allocations: 0.5417 MB / 3.772 GB, free: 66.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/7.655, allocations: 1.461 MB / 3.774 GB, free: 66.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/7.655, allocations: 3.812 kB / 3.774 GB, free: 66.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.655, allocations: 3.75 kB / 3.774 GB, free: 66.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/7.655, allocations: 0 / 3.774 GB, free: 66.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/7.659, allocations: 2.812 MB / 3.777 GB, free: 65.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/7.659, allocations: 3.531 kB / 3.777 GB, free: 65.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/7.659, allocations: 99.73 kB / 3.777 GB, free: 65.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/7.659, allocations: 6.906 kB / 3.777 GB, free: 65.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/7.659, allocations: 10.34 kB / 3.777 GB, free: 65.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/7.659, allocations: 8.625 kB / 3.777 GB, free: 65.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/7.659, allocations: 9 kB / 3.777 GB, free: 65.91 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002554/7.662, allocations: 1.481 MB / 3.778 GB, free: 65.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/7.662, allocations: 0.5477 MB / 3.779 GB, free: 64.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/7.663, allocations: 6.641 kB / 3.779 GB, free: 64.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/7.663, allocations: 80.06 kB / 3.779 GB, free: 64.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/7.663, allocations: 46.64 kB / 3.779 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/7.663, allocations: 12.12 kB / 3.779 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001238/7.665, allocations: 1.14 MB / 3.78 GB, free: 64.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008551/7.673, allocations: 1.589 MB / 3.782 GB, free: 64.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.008381/7.682, allocations: 1.972 MB / 3.784 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00189/7.684, allocations: 1.157 MB / 3.785 GB, free: 64.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/7.684, allocations: 0 / 3.785 GB, free: 64.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/7.684, allocations: 221.5 kB / 3.785 GB, free: 64.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/7.686, allocations: 356.9 kB / 3.785 GB, free: 64.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/7.729, allocations: 20.35 MB / 3.805 GB, free: 63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/7.73, allocations: 1.319 MB / 3.806 GB, free: 62.26 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/7.73, allocations: 0 / 3.806 GB, free: 62.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.06781/7.798, allocations: 46.97 MB / 3.852 GB, free: 57.34 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1)