Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") [: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.004152/0.004152, allocations: 180.2 kB / 7.453 MB, free: 2.18 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.4/1.4, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001815/0.001815, allocations: 103.9 kB / 217.7 MB, free: 8.215 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.1839/0.1839, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.38e-06, allocations: 1.188 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 48.7 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.043, allocations: 2.496 GB / 2.885 GB, free: 16.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000527/6.044, allocations: 79.95 kB / 2.885 GB, free: 16.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.853/8.896, allocations: 0.5568 GB / 3.442 GB, free: 27.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001165/8.897, allocations: 39.59 kB / 3.442 GB, free: 27.62 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01324/8.91, allocations: 2.619 MB / 3.445 GB, free: 26.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/8.91, allocations: 10.31 kB / 3.445 GB, free: 26.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/8.918, allocations: 0.8665 MB / 3.445 GB, free: 26.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/8.922, allocations: 1.066 MB / 3.447 GB, free: 26.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/8.922, allocations: 47.38 kB / 3.447 GB, free: 26.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/8.922, allocations: 68 kB / 3.447 GB, free: 26.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002445/8.924, allocations: 1.356 MB / 3.448 GB, free: 26.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/8.926, allocations: 1.361 MB / 3.449 GB, free: 25.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/8.926, allocations: 7.531 kB / 3.449 GB, free: 25.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/8.927, allocations: 6.344 kB / 3.449 GB, free: 25.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/8.927, allocations: 31.12 kB / 3.449 GB, free: 25.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.006/9.933, allocations: 231.9 MB / 3.676 GB, free: 54.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/9.936, allocations: 0.8708 MB / 3.677 GB, free: 54.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/9.936, allocations: 379.7 kB / 3.677 GB, free: 54.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1151/10.05, allocations: 48.13 MB / 3.724 GB, free: 25.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/10.05, allocations: 49.56 kB / 3.724 GB, free: 24.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 5.06e-06/10.05, allocations: 0 / 3.724 GB, free: 24.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.00838/10.06, allocations: 1.966 MB / 3.726 GB, free: 24.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/10.06, allocations: 195.6 kB / 3.726 GB, free: 24.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/10.06, allocations: 0.8408 MB / 3.727 GB, free: 23.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/10.06, allocations: 27.39 kB / 3.727 GB, free: 23.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/10.06, allocations: 0.5424 MB / 3.728 GB, free: 23.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/10.06, allocations: 282 kB / 3.728 GB, free: 23.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/10.06, allocations: 0 / 3.728 GB, free: 23.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/10.06, allocations: 359.2 kB / 3.728 GB, free: 23.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009898/10.07, allocations: 481.8 kB / 3.729 GB, free: 22.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/10.07, allocations: 0.8911 MB / 3.729 GB, free: 21.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/10.07, allocations: 1.056 MB / 3.73 GB, free: 21.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/10.07, allocations: 7.906 kB / 3.73 GB, free: 21.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01015/10.08, allocations: 2.909 MB / 3.733 GB, free: 19.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.334/10.42, allocations: 4.962 MB / 3.738 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.864e-05/10.42, allocations: 11.62 kB / 3.738 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/10.42, allocations: 0.6929 MB / 3.739 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/10.42, allocations: 452.5 kB / 3.739 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/10.42, allocations: 1.217 MB / 3.74 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/10.43, allocations: 323.9 kB / 3.741 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/10.43, allocations: 93.8 kB / 3.741 GB, free: 106.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/10.43, allocations: 4.75 kB / 3.741 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005692/10.43, allocations: 1.705 MB / 3.743 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/10.43, allocations: 13.94 kB / 3.743 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/10.43, allocations: 87.23 kB / 3.743 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/10.44, allocations: 492.5 kB / 3.743 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/10.44, allocations: 1.681 MB / 3.745 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/10.44, allocations: 239.8 kB / 3.745 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/10.44, allocations: 87.78 kB / 3.745 GB, free: 104.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.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 (163): * Single equations (assignments): 162 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005014/10.44, allocations: 159 kB / 3.745 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00206/10.44, allocations: 0.6446 MB / 3.746 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007048/10.45, allocations: 4.44 MB / 3.75 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/10.45, allocations: 38.19 kB / 3.75 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/10.45, allocations: 3.5 kB / 3.75 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/10.45, allocations: 5.062 kB / 3.75 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009054/10.46, allocations: 5.833 MB / 3.756 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/10.46, allocations: 3.188 kB / 3.756 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/10.46, allocations: 193 kB / 3.756 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003626/10.46, allocations: 1.67 MB / 3.758 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/10.46, allocations: 25.56 kB / 3.758 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/10.47, allocations: 1.841 MB / 3.76 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-05/10.47, allocations: 11.12 kB / 3.76 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007999/10.48, allocations: 3.667 MB / 3.763 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/10.48, allocations: 0.6033 MB / 3.764 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007364/10.48, allocations: 14.25 kB / 3.764 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/10.48, allocations: 104.7 kB / 3.764 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/10.48, allocations: 81.55 kB / 3.764 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/10.48, allocations: 53.48 kB / 3.764 GB, free: 102.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002017/10.48, allocations: 1.076 MB / 3.765 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009862/10.49, allocations: 1.772 MB / 3.767 GB, free: 102 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 ($cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse50.phase,$cse50.region,$cse52.phase,$cse52.region,$cse57.phase,$cse57.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/10.5, allocations: 2.095 MB / 3.769 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006555/10.51, allocations: 2.676 MB / 3.771 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/10.51, allocations: 2.406 kB / 3.771 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/10.51, allocations: 1.286 MB / 3.773 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/10.52, allocations: 475.2 kB / 3.773 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05153/10.57, allocations: 20.03 MB / 3.793 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/10.57, allocations: 1.649 MB / 3.794 GB, free: 100 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/10.57, allocations: 3.5 kB / 3.794 GB, free: 100 MB / 490.7 MB Notification: Performance of Templates: time 0.1179/10.69, allocations: 59.64 MB / 3.853 GB, free: 96.12 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1)