Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009846/0.0009847, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4159/0.4159, allocations: 38.03 MB / 308.4 MB, free: 10.37 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2097, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.3902/0.5999, allocations: 31.85 MB / 465.8 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.6214, allocations: 18.38 MB / 484.2 MB, free: 26.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008596/0.6223, allocations: 17.75 kB / 484.2 MB, free: 26.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009226/0.6232, allocations: 239.5 kB / 484.4 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.6357, allocations: 3.555 MB / 488 MB, free: 24.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.6418, allocations: 1.624 MB / 489.6 MB, free: 23.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.6433, allocations: 0.6781 MB / 490.3 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.6438, allocations: 281.9 kB / 490.5 MB, free: 23.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01543/0.6592, allocations: 9.065 MB / 499.6 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.6605, allocations: 250 kB / 499.9 MB, free: 22.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.6607, allocations: 19.31 kB / 499.9 MB, free: 22.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02007/0.6808, allocations: 7.103 MB / 0.4951 GB, free: 20.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.6811, allocations: 90.72 kB / 0.4952 GB, free: 20.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.6815, allocations: 121.2 kB / 0.4953 GB, free: 20.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.6942, allocations: 3.053 MB / 0.4983 GB, free: 19.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6943, allocations: 0 / 0.4983 GB, free: 19.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6943, allocations: 0 / 0.4983 GB, free: 19.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.6943, allocations: 1 kB / 0.4983 GB, free: 19.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.008203/0.7025, allocations: 1.222 MB / 0.4995 GB, free: 18.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.7026, allocations: 9.062 kB / 0.4995 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.7045, allocations: 234.5 kB / 0.4997 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.7052, allocations: 389.9 kB / 0.5001 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.7053, allocations: 30.97 kB / 0.5001 GB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.123e-05/0.7054, allocations: 40.17 kB / 0.5001 GB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.7071, allocations: 0.6867 MB / 0.5008 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.7072, allocations: 1.5 kB / 0.5008 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.7072, allocations: 18.12 kB / 0.5008 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.7073, allocations: 9.5 kB / 0.5008 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.7089, allocations: 0.5971 MB / 0.5014 GB, free: 18.06 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.713, allocations: 3.306 MB / 0.5047 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.7146, allocations: 457.4 kB / 0.5051 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1246/0.8393, allocations: 56.34 MB / 0.5601 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.8394, allocations: 46.05 kB / 0.5602 GB, free: 4.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 4.419e-06/0.8394, allocations: 0 / 0.5602 GB, free: 4.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.003446/0.8428, allocations: 0.9359 MB / 0.5611 GB, free: 3.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.843, allocations: 106.8 kB / 0.5612 GB, free: 3.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.8437, allocations: 393.8 kB / 0.5615 GB, free: 3.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.8437, allocations: 33.7 kB / 0.5616 GB, free: 3.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.8441, allocations: 251.7 kB / 0.5618 GB, free: 2.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.8442, allocations: 98.58 kB / 0.5619 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.8442, allocations: 4 kB / 0.5619 GB, free: 2.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003743/0.8446, allocations: 358.8 kB / 0.5623 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.845, allocations: 152.7 kB / 0.5624 GB, free: 2.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.8455, allocations: 313.7 kB / 0.5627 GB, free: 2.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.846, allocations: 179.8 kB / 0.5629 GB, free: 1.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.846, allocations: 4 kB / 0.5629 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001367/0.8474, allocations: 0.5252 MB / 0.5634 GB, free: 1.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002407/0.8498, allocations: 2.007 MB / 0.5653 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.8498, allocations: 8 kB / 0.5654 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.8533, allocations: 372.4 kB / 0.5657 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.8539, allocations: 103.8 kB / 0.5658 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008234/0.8547, allocations: 0.6108 MB / 0.5664 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.8554, allocations: 75.41 kB / 0.5665 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.8555, allocations: 24 kB / 0.5665 GB, free: 13.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8555, allocations: 4 kB / 0.5665 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009858/0.8565, allocations: 445.6 kB / 0.5669 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8565, allocations: 4 kB / 0.5669 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8566, allocations: 8.656 kB / 0.5669 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.857, allocations: 123.8 kB / 0.5671 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.857, allocations: 11.98 kB / 0.5671 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.8574, allocations: 64.53 kB / 0.5671 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.8575, allocations: 23.95 kB / 0.5672 GB, free: 13.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004191/0.8579, allocations: 254 kB / 0.5674 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.8581, allocations: 43.44 kB / 0.5674 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.861, allocations: 1.925 MB / 0.5693 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/0.861, allocations: 31.89 kB / 0.5693 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.861, allocations: 3.953 kB / 0.5694 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.8611, allocations: 3.984 kB / 0.5694 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.8627, allocations: 0.9673 MB / 0.5703 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.8627, allocations: 0 / 0.5703 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.863, allocations: 76.39 kB / 0.5704 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/0.8645, allocations: 0.6349 MB / 0.571 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.8646, allocations: 8 kB / 0.571 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008844/0.8655, allocations: 1.027 MB / 0.572 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8655, allocations: 0 / 0.572 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.8673, allocations: 1.312 MB / 0.5733 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.8677, allocations: 259.4 kB / 0.5735 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.8678, allocations: 7.938 kB / 0.5735 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.8681, allocations: 35.97 kB / 0.5736 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.8682, allocations: 31.95 kB / 0.5736 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.8682, allocations: 12.17 kB / 0.5736 GB, free: 6.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.8687, allocations: 374.8 kB / 0.574 GB, free: 6.121 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8687, allocations: 0 / 0.574 GB, free: 6.121 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008186/0.8769, allocations: 1.152 MB / 0.5751 GB, free: 4.969 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01155/0.8885, allocations: 1.213 MB / 0.5763 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.8908, allocations: 0.8269 MB / 0.5771 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8909, allocations: 4 kB / 0.5771 GB, free: 2.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.8916, allocations: 484.8 kB / 0.5776 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.893, allocations: 230.3 kB / 0.5778 GB, free: 2.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.8959, allocations: 1.929 MB / 0.5797 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.8967, allocations: 0.9797 MB / 0.5806 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009062/0.8976, allocations: 0.4917 MB / 0.5811 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.8977, allocations: 47.42 kB / 0.5811 GB, free: 14.72 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/0.8977, allocations: 0 / 0.5811 GB, free: 14.72 MB / 462.1 MB Notification: Performance of Templates: time 0.06431/0.9621, allocations: 41.08 MB / 0.6213 GB, free: 5.621 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) Environment - environmentSimulation: