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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009023/0.009023, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.547/1.547, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001677/0.001677, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.3579/0.3579, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 48.7 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.27/5.391, allocations: 2.497 GB / 2.899 GB, free: 115.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/5.391, allocations: 88.06 kB / 2.899 GB, free: 115.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.207/7.598, allocations: 0.5631 GB / 3.462 GB, free: 27.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.906e-06/7.598, allocations: 2.844 kB / 3.462 GB, free: 27.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002082/7.598, allocations: 39.06 kB / 3.462 GB, free: 27.29 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.01455/7.613, allocations: 2.615 MB / 3.465 GB, free: 25.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/7.613, allocations: 19.03 kB / 3.465 GB, free: 25.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007721/7.62, allocations: 0.8186 MB / 3.466 GB, free: 25.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/7.624, allocations: 1.064 MB / 3.467 GB, free: 25.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/7.624, allocations: 105.9 kB / 3.467 GB, free: 25.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006412/7.625, allocations: 113 kB / 3.467 GB, free: 25.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/7.632, allocations: 2.206 MB / 3.469 GB, free: 24.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.954e-05/7.632, allocations: 11.19 kB / 3.469 GB, free: 24.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004245/7.633, allocations: 54.55 kB / 3.469 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/7.633, allocations: 27.59 kB / 3.469 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005984/7.639, allocations: 2.185 MB / 3.471 GB, free: 23.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/7.653, allocations: 8.873 MB / 3.48 GB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/7.659, allocations: 1.938 MB / 3.482 GB, free: 16.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1118/7.77, allocations: 49.21 MB / 3.53 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.53e-05/7.771, allocations: 43.56 kB / 3.53 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001736/7.772, allocations: 146.8 kB / 3.53 GB, free: 3.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=106): time 9.728e-06/7.772, allocations: 3.938 kB / 3.53 GB, free: 3.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.4469/8.219, allocations: 3.971 MB / 3.534 GB, free: 63.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/8.219, allocations: 198.7 kB / 3.534 GB, free: 63.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/8.221, allocations: 0.7836 MB / 3.535 GB, free: 62.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004286/8.222, allocations: 45.64 kB / 3.535 GB, free: 62.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000602/8.222, allocations: 0.6068 MB / 3.535 GB, free: 62.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/8.223, allocations: 366.7 kB / 3.536 GB, free: 62.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/8.223, allocations: 30.25 kB / 3.536 GB, free: 62.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/8.223, allocations: 360.5 kB / 3.536 GB, free: 62.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/8.225, allocations: 0.6207 MB / 3.537 GB, free: 62.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/8.227, allocations: 1.055 MB / 3.538 GB, free: 61.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/8.229, allocations: 0.7225 MB / 3.539 GB, free: 61.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/8.229, allocations: 8.516 kB / 3.539 GB, free: 61.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005916/8.235, allocations: 2.001 MB / 3.541 GB, free: 61.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001742/8.237, allocations: 4.966 MB / 3.545 GB, free: 56.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/8.237, allocations: 13 kB / 3.545 GB, free: 56.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006626/8.243, allocations: 1.094 MB / 3.546 GB, free: 56.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/8.245, allocations: 443 kB / 3.547 GB, free: 56.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/8.247, allocations: 0.9282 MB / 3.548 GB, free: 55.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/8.249, allocations: 169.7 kB / 3.548 GB, free: 55.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/8.249, allocations: 92.94 kB / 3.548 GB, free: 55.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/8.249, allocations: 5.719 kB / 3.548 GB, free: 55.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004104/8.253, allocations: 1.771 MB / 3.55 GB, free: 55.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/8.253, allocations: 15.75 kB / 3.55 GB, free: 55.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/8.254, allocations: 90.38 kB / 3.55 GB, free: 55.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/8.255, allocations: 478.1 kB / 3.55 GB, free: 55.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/8.258, allocations: 1.778 MB / 3.552 GB, free: 54.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/8.26, allocations: 174.9 kB / 3.552 GB, free: 54.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/8.26, allocations: 89.14 kB / 3.552 GB, free: 54.48 MB / 474.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 () * Number of clocked 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.001297/8.262, allocations: 388.5 kB / 3.553 GB, free: 54.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/8.262, allocations: 130.7 kB / 3.553 GB, free: 54.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/8.273, allocations: 6.701 MB / 3.559 GB, free: 53.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.781e-05/8.273, allocations: 90.2 kB / 3.559 GB, free: 53.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/8.273, allocations: 0 / 3.559 GB, free: 53.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/8.273, allocations: 9.094 kB / 3.559 GB, free: 53.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/8.278, allocations: 2.886 MB / 3.562 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/8.278, allocations: 3.75 kB / 3.562 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/8.279, allocations: 285.2 kB / 3.563 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006448/8.286, allocations: 2.072 MB / 3.565 GB, free: 53.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/8.286, allocations: 39.84 kB / 3.565 GB, free: 53.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/8.288, allocations: 1.604 MB / 3.566 GB, free: 52.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/8.288, allocations: 1.422 kB / 3.566 GB, free: 52.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008128/8.296, allocations: 3.716 MB / 3.57 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/8.299, allocations: 0.5883 MB / 3.57 GB, free: 51.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007124/8.299, allocations: 30.33 kB / 3.57 GB, free: 51.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/8.301, allocations: 149 kB / 3.571 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/8.302, allocations: 108 kB / 3.571 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/8.302, allocations: 49.78 kB / 3.571 GB, free: 51.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001989/8.304, allocations: 0.7578 MB / 3.571 GB, free: 51.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/8.304, allocations: 3.859 kB / 3.571 GB, free: 51.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01177/8.316, allocations: 1.788 MB / 3.573 GB, free: 51.74 MB / 474.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: 51 ($cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.01261/8.328, allocations: 1.87 MB / 3.575 GB, free: 51.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/8.338, allocations: 3.271 MB / 3.578 GB, free: 51.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/8.338, allocations: 0 / 3.578 GB, free: 51.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003806/8.342, allocations: 1.659 MB / 3.58 GB, free: 51.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/8.347, allocations: 0.5831 MB / 3.58 GB, free: 51.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6965/9.043, allocations: 171.1 MB / 3.747 GB, free: 57.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/9.045, allocations: 1.703 MB / 3.749 GB, free: 56.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003874/9.049, allocations: 1.704 MB / 3.751 GB, free: 56.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/9.049, allocations: 137.7 kB / 3.751 GB, free: 56.83 MB / 474.7 MB Notification: Performance of SimCode: time 2.524e-06/9.049, allocations: 0 / 3.751 GB, free: 56.83 MB / 474.7 MB Notification: Performance of Templates: time 0.1018/9.151, allocations: 58.95 MB / 3.809 GB, free: 53.08 MB / 474.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)