Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004234/0.004234, allocations: 178.6 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.406/1.406, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001833/0.001833, allocations: 111.8 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2404/0.2404, allocations: 37.98 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.11e-05, allocations: 1.219 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.369/6.49, allocations: 2.496 GB / 2.885 GB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/6.49, allocations: 79.95 kB / 2.885 GB, free: 13.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184/8.674, allocations: 495.1 MB / 3.369 GB, free: 14.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001843/8.674, allocations: 31.91 kB / 3.369 GB, free: 14.31 MB / 442.7 MB 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.01216/8.687, allocations: 2.02 MB / 3.371 GB, free: 12.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/8.687, allocations: 8.031 kB / 3.371 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007502/8.694, allocations: 0.7215 MB / 3.371 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/8.698, allocations: 0.8547 MB / 3.372 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/8.698, allocations: 43.94 kB / 3.372 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/8.699, allocations: 48 kB / 3.372 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00287/8.701, allocations: 0.9099 MB / 3.373 GB, free: 9.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/8.705, allocations: 1.081 MB / 3.374 GB, free: 8.492 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/8.705, allocations: 7.938 kB / 3.374 GB, free: 8.484 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/8.705, allocations: 4 kB / 3.374 GB, free: 8.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/8.705, allocations: 24 kB / 3.374 GB, free: 8.457 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.174/9.879, allocations: 202.2 MB / 3.572 GB, free: 79.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/9.88, allocations: 415.8 kB / 3.572 GB, free: 79.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/9.881, allocations: 197.8 kB / 3.572 GB, free: 79.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04414/9.925, allocations: 16.36 MB / 3.588 GB, free: 70.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/9.925, allocations: 38.28 kB / 3.588 GB, free: 70.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=43): time 3.626e-06/9.925, allocations: 0 / 3.588 GB, free: 70.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=43): time 0.005118/9.93, allocations: 1.205 MB / 3.589 GB, free: 70.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/9.93, allocations: 216.1 kB / 3.59 GB, free: 70.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/9.932, allocations: 0.6722 MB / 3.59 GB, free: 70.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.043e-05/9.932, allocations: 31.08 kB / 3.59 GB, free: 70.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/9.932, allocations: 0.4926 MB / 3.591 GB, free: 70.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/9.932, allocations: 156.5 kB / 3.591 GB, free: 70.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/9.932, allocations: 0 / 3.591 GB, free: 70.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/9.933, allocations: 394.4 kB / 3.591 GB, free: 69.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/9.933, allocations: 277.9 kB / 3.592 GB, free: 69.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/9.934, allocations: 0.6869 MB / 3.592 GB, free: 69.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/9.937, allocations: 0.6245 MB / 3.593 GB, free: 69.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/9.937, allocations: 3.594 kB / 3.593 GB, free: 69.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006229/9.943, allocations: 1.983 MB / 3.595 GB, free: 69.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001769/9.945, allocations: 5.044 MB / 3.6 GB, free: 63.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.333e-05/9.945, allocations: 13.38 kB / 3.6 GB, free: 63.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.213e-05/9.945, allocations: 22.31 kB / 3.6 GB, free: 63.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/9.946, allocations: 312.2 kB / 3.6 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.611e-05/9.946, allocations: 25.94 kB / 3.6 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/9.948, allocations: 267 kB / 3.6 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/9.948, allocations: 65.11 kB / 3.6 GB, free: 63.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/9.948, allocations: 3.438 kB / 3.6 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/9.951, allocations: 1.04 MB / 3.601 GB, free: 63.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.493e-05/9.951, allocations: 13.5 kB / 3.601 GB, free: 63.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/9.951, allocations: 21.56 kB / 3.601 GB, free: 63.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/9.953, allocations: 309.3 kB / 3.602 GB, free: 63.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-05/9.953, allocations: 29.31 kB / 3.602 GB, free: 63.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/9.954, allocations: 185.9 kB / 3.602 GB, free: 63.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/9.954, allocations: 58.92 kB / 3.602 GB, free: 63.66 MB / 474.7 MB 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.0003672/9.955, allocations: 152.7 kB / 3.602 GB, free: 63.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/9.956, allocations: 0.5449 MB / 3.603 GB, free: 63.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/9.959, allocations: 1.462 MB / 3.604 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/9.959, allocations: 3.625 kB / 3.604 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/9.959, allocations: 0 / 3.604 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/9.959, allocations: 7.469 kB / 3.604 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/9.965, allocations: 2.807 MB / 3.607 GB, free: 62.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/9.965, allocations: 3.875 kB / 3.607 GB, free: 62.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/9.965, allocations: 104.9 kB / 3.607 GB, free: 62.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/9.965, allocations: 4.688 kB / 3.607 GB, free: 62.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/9.965, allocations: 19.05 kB / 3.607 GB, free: 62.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/9.965, allocations: 6 kB / 3.607 GB, free: 62.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/9.965, allocations: 5.594 kB / 3.607 GB, free: 62.75 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003039/9.968, allocations: 1.489 MB / 3.608 GB, free: 62.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/9.969, allocations: 0.5426 MB / 3.609 GB, free: 61.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/9.97, allocations: 7.531 kB / 3.609 GB, free: 61.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/9.971, allocations: 88.86 kB / 3.609 GB, free: 61.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/9.971, allocations: 41.22 kB / 3.609 GB, free: 61.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/9.971, allocations: 18.56 kB / 3.609 GB, free: 61.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001707/9.973, allocations: 1.131 MB / 3.61 GB, free: 61.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009807/9.982, allocations: 1.595 MB / 3.612 GB, free: 61.62 MB / 474.7 MB 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.01461/9.997, allocations: 1.958 MB / 3.614 GB, free: 61.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/10, allocations: 1.16 MB / 3.615 GB, free: 61.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/10, allocations: 0 / 3.615 GB, free: 61.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/10, allocations: 226.2 kB / 3.615 GB, free: 61.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/10, allocations: 348.9 kB / 3.615 GB, free: 61.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05178/10.06, allocations: 19.67 MB / 3.635 GB, free: 59.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/10.06, allocations: 1.317 MB / 3.636 GB, free: 59.17 MB / 474.7 MB Notification: Performance of SimCode: time 4.489e-06/10.06, allocations: 0 / 3.636 GB, free: 59.17 MB / 474.7 MB Notification: Performance of Templates: time 0.08399/10.14, allocations: 46.75 MB / 3.681 GB, free: 51.75 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1)