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.0007862/0.0007863, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004753/0.004753, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.4821/0.4821, allocations: 40 MB / 310.7 MB, free: 9.59 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.0006804/0.0006806, allocations: 12 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1716, allocations: 57.97 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.3648/0.5365, allocations: 37.85 MB / 475.3 MB, free: 30.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02654/0.5631, allocations: 22.35 MB / 497.6 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5643, allocations: 13.94 kB / 497.6 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.5658, allocations: 255.5 kB / 497.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.5825, allocations: 3.705 MB / 0.4898 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006638/0.5891, allocations: 1.692 MB / 0.4915 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.5912, allocations: 1.511 MB / 0.493 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006909/0.5919, allocations: 291.9 kB / 0.4932 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01399/0.6059, allocations: 5.616 MB / 0.4987 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.6072, allocations: 345.7 kB / 0.499 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.6074, allocations: 19.78 kB / 0.4991 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02384/0.6312, allocations: 7.22 MB / 0.5061 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.6317, allocations: 105.6 kB / 0.5062 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.6325, allocations: 266.4 kB / 0.5065 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.6521, allocations: 4.511 MB / 0.5109 GB, free: 6.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6522, allocations: 0 / 0.5109 GB, free: 6.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6522, allocations: 0 / 0.5109 GB, free: 6.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.6522, allocations: 1.594 kB / 0.5109 GB, free: 6.168 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.005664/0.6579, allocations: 1.217 MB / 0.5121 GB, free: 5.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.658, allocations: 9.125 kB / 0.5121 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.6598, allocations: 234 kB / 0.5123 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.6604, allocations: 399.5 kB / 0.5127 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.6605, allocations: 29.44 kB / 0.5127 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.6605, allocations: 37.97 kB / 0.5127 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.6622, allocations: 0.6981 MB / 0.5134 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6622, allocations: 5.375 kB / 0.5134 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.6623, allocations: 17.97 kB / 0.5134 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.6623, allocations: 14.05 kB / 0.5135 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.6639, allocations: 0.5894 MB / 0.514 GB, free: 4.027 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.003444/0.6673, allocations: 3.321 MB / 0.5173 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.6687, allocations: 458.4 kB / 0.5177 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.6691, allocations: 182.1 kB / 0.5179 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1214/0.7905, allocations: 56.33 MB / 0.5729 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.7905, allocations: 34.5 kB / 0.5729 GB, free: 6.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.265e-06/0.7906, allocations: 0 / 0.5729 GB, free: 6.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003256/0.7938, allocations: 0.9398 MB / 0.5739 GB, free: 5.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.7939, allocations: 106.8 kB / 0.574 GB, free: 5.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.7944, allocations: 397.8 kB / 0.5743 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.7945, allocations: 29.7 kB / 0.5744 GB, free: 4.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.7947, allocations: 255.7 kB / 0.5746 GB, free: 4.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.7948, allocations: 98.64 kB / 0.5747 GB, free: 4.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.7949, allocations: 37.7 kB / 0.5747 GB, free: 4.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.795, allocations: 358.7 kB / 0.5751 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.7954, allocations: 152.7 kB / 0.5752 GB, free: 4.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.7959, allocations: 313.7 kB / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.7967, allocations: 476.4 kB / 0.576 GB, free: 3.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.7967, allocations: 0 / 0.576 GB, free: 3.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001104/0.7978, allocations: 0.5402 MB / 0.5765 GB, free: 2.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.798, allocations: 244.2 kB / 0.5767 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.798, allocations: 7.938 kB / 0.5767 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/0.8014, allocations: 376.4 kB / 0.5771 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.8018, allocations: 99.88 kB / 0.5772 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000567/0.8024, allocations: 0.6069 MB / 0.5778 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.8029, allocations: 75.48 kB / 0.5779 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.8029, allocations: 23.98 kB / 0.5779 GB, free: 1.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.8029, allocations: 4 kB / 0.5779 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009568/0.8039, allocations: 449.5 kB / 0.5783 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.8039, allocations: 8 kB / 0.5783 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8039, allocations: 15.92 kB / 0.5783 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.8043, allocations: 112.5 kB / 0.5784 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.8044, allocations: 11.94 kB / 0.5785 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.8047, allocations: 67.59 kB / 0.5785 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.8048, allocations: 23.98 kB / 0.5785 GB, free: 440 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.8051, allocations: 245.7 kB / 0.5788 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.8052, allocations: 47.44 kB / 0.5788 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.8078, allocations: 1.942 MB / 0.5807 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/0.8078, allocations: 31.94 kB / 0.5808 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.8079, allocations: 3.938 kB / 0.5808 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.8079, allocations: 0 / 0.5808 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.809, allocations: 0.9636 MB / 0.5817 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.809, allocations: 3.938 kB / 0.5817 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.8093, allocations: 79.88 kB / 0.5818 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.8107, allocations: 0.6386 MB / 0.5824 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.8108, allocations: 8 kB / 0.5824 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/0.8117, allocations: 1.018 MB / 0.5834 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8117, allocations: 0 / 0.5834 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.8136, allocations: 1.321 MB / 0.5847 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.8139, allocations: 259.4 kB / 0.5849 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.814, allocations: 4 kB / 0.5849 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.8143, allocations: 39.88 kB / 0.585 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.8144, allocations: 35.89 kB / 0.585 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.8145, allocations: 12 kB / 0.585 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005426/0.815, allocations: 382.8 kB / 0.5854 GB, free: 9.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.815, allocations: 0 / 0.5854 GB, free: 9.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005785/0.8208, allocations: 1.14 MB / 0.5865 GB, free: 8.137 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007072/0.8279, allocations: 1.221 MB / 0.5877 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.8299, allocations: 0.8347 MB / 0.5885 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8299, allocations: 0 / 0.5885 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.8306, allocations: 492.8 kB / 0.589 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8321, allocations: 238.4 kB / 0.5892 GB, free: 5.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.8346, allocations: 1.934 MB / 0.5911 GB, free: 3.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.8352, allocations: 0.9677 MB / 0.592 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008356/0.836, allocations: 0.4995 MB / 0.5925 GB, free: 1.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.8361, allocations: 47.44 kB / 0.5926 GB, free: 1.863 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.8362, allocations: 0 / 0.5926 GB, free: 1.863 MB / 462.1 MB Notification: Performance of Templates: time 0.2868/1.123, allocations: 40.75 MB / 0.6324 GB, free: 153.3 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: