Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001012/0.001012, 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.0009781/0.000978, allocations: 177.3 kB / 15.95 MB, free: 216 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.229/1.229, 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.2+maint.om/package.mo): time 0.2653/0.2653, allocations: 39.99 MB / 310.4 MB, free: 9.684 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.2. 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.0004959/0.0004961, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08849, allocations: 57.95 MB / 436.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.1836/0.2721, allocations: 31.84 MB / 468.6 MB, free: 34.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.287, allocations: 18.4 MB / 487 MB, free: 23.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004543/0.2875, allocations: 13.88 kB / 487 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.2882, allocations: 244.6 kB / 487.3 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008385/0.2966, allocations: 3.559 MB / 490.8 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.3008, allocations: 1.621 MB / 492.4 MB, free: 20.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.3018, allocations: 0.678 MB / 493.1 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.3022, allocations: 287.7 kB / 493.4 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.315, allocations: 9.052 MB / 0.4907 GB, free: 19.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.3156, allocations: 255.1 kB / 0.4909 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.3157, allocations: 18.25 kB / 0.4909 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01284/0.3285, allocations: 7.102 MB / 0.4979 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3288, allocations: 92.45 kB / 0.498 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.329, allocations: 125 kB / 0.4981 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.3359, allocations: 3.046 MB / 0.501 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.336, allocations: 0 / 0.501 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.336, allocations: 0 / 0.501 GB, free: 16.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.336, allocations: 0 / 0.501 GB, free: 16.75 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.004504/0.3405, allocations: 1.222 MB / 0.5022 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3406, allocations: 8.531 kB / 0.5023 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.3423, allocations: 238.5 kB / 0.5025 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.3428, allocations: 398.5 kB / 0.5029 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.3428, allocations: 30.56 kB / 0.5029 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.3429, allocations: 37 kB / 0.5029 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3443, allocations: 0.6867 MB / 0.5036 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3444, allocations: 5.25 kB / 0.5036 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.3444, allocations: 18.22 kB / 0.5036 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3444, allocations: 10.25 kB / 0.5036 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3459, allocations: 0.5885 MB / 0.5042 GB, free: 15.07 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.002927/0.3488, allocations: 3.309 MB / 0.5074 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3501, allocations: 460.9 kB / 0.5079 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1077/0.4578, allocations: 56.32 MB / 0.5629 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.4579, allocations: 38.56 kB / 0.5629 GB, free: 112 kB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.4579, allocations: 0 / 0.5629 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.003094/0.461, allocations: 0.9364 MB / 0.5638 GB, free: 15.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.4611, allocations: 106.8 kB / 0.5639 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.4615, allocations: 397.8 kB / 0.5643 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.4616, allocations: 29.7 kB / 0.5643 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4618, allocations: 259.6 kB / 0.5646 GB, free: 14.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.4619, allocations: 90.75 kB / 0.5647 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.4619, allocations: 4 kB / 0.5647 GB, free: 14.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.462, allocations: 346.8 kB / 0.565 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.4624, allocations: 148.8 kB / 0.5651 GB, free: 13.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.4628, allocations: 321.7 kB / 0.5655 GB, free: 13.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.4632, allocations: 179.9 kB / 0.5656 GB, free: 13.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4632, allocations: 0 / 0.5656 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001052/0.4643, allocations: 0.5285 MB / 0.5661 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007207/0.465, allocations: 2.011 MB / 0.5681 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.465, allocations: 4.859 kB / 0.5681 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.4682, allocations: 372.4 kB / 0.5685 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.4686, allocations: 103.9 kB / 0.5686 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005982/0.4693, allocations: 0.5992 MB / 0.5692 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.4699, allocations: 88.91 kB / 0.5692 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.47, allocations: 24 kB / 0.5693 GB, free: 9.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.47, allocations: 4 kB / 0.5693 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/0.471, allocations: 449.8 kB / 0.5697 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.471, allocations: 4 kB / 0.5697 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4711, allocations: 11.95 kB / 0.5697 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.4715, allocations: 111.9 kB / 0.5698 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.4715, allocations: 20.27 kB / 0.5698 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.4719, allocations: 63.58 kB / 0.5699 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.472, allocations: 27.98 kB / 0.5699 GB, free: 8.582 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.0002697/0.4722, allocations: 250.5 kB / 0.5702 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4723, allocations: 43.52 kB / 0.5702 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.4748, allocations: 1.935 MB / 0.5721 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.4749, allocations: 27.95 kB / 0.5721 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4749, allocations: 4 kB / 0.5721 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4749, allocations: 0 / 0.5721 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4759, allocations: 0.9712 MB / 0.5731 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.476, allocations: 3.984 kB / 0.5731 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.4763, allocations: 67.95 kB / 0.5731 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.4776, allocations: 0.6425 MB / 0.5738 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4777, allocations: 8 kB / 0.5738 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007788/0.4785, allocations: 1.018 MB / 0.5748 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4785, allocations: 0 / 0.5748 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.48, allocations: 1.31 MB / 0.576 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.4803, allocations: 267.4 kB / 0.5763 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.4804, allocations: 4 kB / 0.5763 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.4807, allocations: 35.97 kB / 0.5763 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.4808, allocations: 27.95 kB / 0.5764 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.4808, allocations: 12 kB / 0.5764 GB, free: 1.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004005/0.4812, allocations: 382.8 kB / 0.5767 GB, free: 1.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4812, allocations: 0 / 0.5767 GB, free: 1.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00443/0.4857, allocations: 1.148 MB / 0.5779 GB, free: 316 kB / 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.005367/0.491, allocations: 1.222 MB / 0.5791 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.4927, allocations: 0.8191 MB / 0.5799 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4927, allocations: 3.938 kB / 0.5799 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.4934, allocations: 496.8 kB / 0.5803 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4945, allocations: 230.8 kB / 0.5806 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.4966, allocations: 1.903 MB / 0.5824 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.4971, allocations: 0.9913 MB / 0.5834 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000719/0.4978, allocations: 0.4993 MB / 0.5839 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.4979, allocations: 47.42 kB / 0.5839 GB, free: 10.06 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4979, allocations: 0 / 0.5839 GB, free: 10.06 MB / 462.1 MB Notification: Performance of Templates: time 0.05158/0.5495, allocations: 41.08 MB / 0.624 GB, free: 0.9727 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) Environment - environmentSimulation: