Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001055/0.001055, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.584/1.584, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001921/0.001921, allocations: 111.4 kB / 218 MB, free: 8.406 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.22/0.22, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.757e-05, allocations: 2.406 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.104, allocations: 2.497 GB / 2.886 GB, free: 15.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/6.104, allocations: 81.03 kB / 2.886 GB, free: 15.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414/8.518, allocations: 0.6127 GB / 3.499 GB, free: 42.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.723e-06/8.518, allocations: 2.844 kB / 3.499 GB, free: 42.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001889/8.518, allocations: 44.19 kB / 3.499 GB, free: 42.22 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01347/8.532, allocations: 2.374 MB / 3.501 GB, free: 41.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/8.532, allocations: 10.53 kB / 3.501 GB, free: 41.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008244/8.54, allocations: 0.8987 MB / 3.502 GB, free: 40.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/8.544, allocations: 1.046 MB / 3.503 GB, free: 40.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/8.544, allocations: 57.17 kB / 3.503 GB, free: 40.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/8.544, allocations: 66.59 kB / 3.503 GB, free: 40.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003198/8.547, allocations: 1.204 MB / 3.504 GB, free: 40.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/8.551, allocations: 1.416 MB / 3.506 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/8.551, allocations: 7.156 kB / 3.506 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002885/8.551, allocations: 3.969 kB / 3.506 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/8.551, allocations: 35.98 kB / 3.506 GB, free: 40.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.451/10, allocations: 265.5 MB / 3.765 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/10, allocations: 0.527 MB / 3.766 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/10, allocations: 254.2 kB / 3.766 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04292/10.05, allocations: 20.22 MB / 3.786 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/10.05, allocations: 40.12 kB / 3.786 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/10.05, allocations: 0 / 3.786 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.004662/10.05, allocations: 1.358 MB / 3.787 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/10.05, allocations: 266.4 kB / 3.787 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/10.05, allocations: 0.9966 MB / 3.788 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/10.05, allocations: 26.73 kB / 3.788 GB, free: 90.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/10.05, allocations: 0.8581 MB / 3.789 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/10.05, allocations: 98.48 kB / 3.789 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/10.05, allocations: 1.688 kB / 3.789 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001072/10.05, allocations: 354.4 kB / 3.79 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/10.05, allocations: 310.9 kB / 3.79 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/10.05, allocations: 0.8539 MB / 3.791 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/10.06, allocations: 0.7468 MB / 3.791 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/10.06, allocations: 7.844 kB / 3.791 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004218/10.06, allocations: 1.497 MB / 3.793 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001486/10.06, allocations: 6.881 MB / 3.8 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/10.06, allocations: 17 kB / 3.8 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.383e-05/10.06, allocations: 28.69 kB / 3.8 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/10.06, allocations: 391.7 kB / 3.8 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-05/10.06, allocations: 37.69 kB / 3.8 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/10.07, allocations: 353.6 kB / 3.8 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/10.07, allocations: 82.17 kB / 3.8 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/10.07, allocations: 3.562 kB / 3.801 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0031/10.07, allocations: 1.231 MB / 3.802 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/10.07, allocations: 16.22 kB / 3.802 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/10.07, allocations: 34.06 kB / 3.802 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/10.07, allocations: 391.4 kB / 3.802 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/10.07, allocations: 39.03 kB / 3.802 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/10.07, allocations: 237 kB / 3.802 GB, free: 81.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/10.07, allocations: 80.25 kB / 3.802 GB, free: 81.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0003131/10.07, allocations: 162.6 kB / 3.803 GB, free: 81.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/10.07, allocations: 123.3 kB / 3.803 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/10.08, allocations: 1.02 MB / 3.804 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/10.08, allocations: 0 / 3.804 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/10.08, allocations: 7.5 kB / 3.804 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/10.08, allocations: 3.906 kB / 3.804 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/10.08, allocations: 0.9396 MB / 3.805 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/10.08, allocations: 0 / 3.805 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/10.08, allocations: 65.16 kB / 3.805 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/10.08, allocations: 0 / 3.805 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/10.08, allocations: 3.844 kB / 3.805 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/10.08, allocations: 0 / 3.805 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/10.08, allocations: 7.875 kB / 3.805 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/10.08, allocations: 452.9 kB / 3.805 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/10.08, allocations: 415.5 kB / 3.806 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/10.08, allocations: 0 / 3.806 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/10.08, allocations: 89.75 kB / 3.806 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/10.08, allocations: 14.64 kB / 3.806 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/10.08, allocations: 10.22 kB / 3.806 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001412/10.08, allocations: 1.059 MB / 3.807 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/10.08, allocations: 0.5625 kB / 3.807 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00909/10.09, allocations: 1.692 MB / 3.808 GB, free: 80.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.01034/10.1, allocations: 2.11 MB / 3.81 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002573/10.1, allocations: 1.22 MB / 3.812 GB, free: 79.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/10.1, allocations: 4.062 kB / 3.812 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/10.1, allocations: 86.38 kB / 3.812 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/10.11, allocations: 384.6 kB / 3.812 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/10.11, allocations: 1.444 MB / 3.813 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/10.11, allocations: 1.247 MB / 3.815 GB, free: 78.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004187/10.12, allocations: 2.832 MB / 3.817 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/10.12, allocations: 96.23 kB / 3.818 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/10.12, allocations: 0 / 3.818 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.06321/10.18, allocations: 41.19 MB / 3.858 GB, free: 75.65 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1)