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.0009794/0.0009796, allocations: 98.27 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.001005/0.001005, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.526/1.526, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.3114/0.3114, allocations: 38.04 MB / 308.8 MB, free: 10.3 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.000607/0.000607, allocations: 24.56 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1206, allocations: 57.52 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.2844/0.405, allocations: 37.87 MB / 472.4 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02117/0.4262, allocations: 22.34 MB / 494.8 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008619/0.4271, allocations: 14.34 kB / 494.8 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.428, allocations: 252.7 kB / 495 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.4404, allocations: 3.699 MB / 498.7 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006423/0.4469, allocations: 1.692 MB / 0.4887 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.4486, allocations: 1.508 MB / 0.4902 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.4491, allocations: 285.9 kB / 0.4905 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.4594, allocations: 5.614 MB / 0.4959 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.4607, allocations: 354.6 kB / 0.4963 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.4608, allocations: 18.03 kB / 0.4963 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/0.4806, allocations: 7.219 MB / 0.5033 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.4809, allocations: 95.53 kB / 0.5034 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.4815, allocations: 277.3 kB / 0.5037 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.4977, allocations: 4.508 MB / 0.5081 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4978, allocations: 1.094 kB / 0.5081 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4978, allocations: 0 / 0.5081 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.113e-05/0.4978, allocations: 0 / 0.5081 GB, free: 10 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.005551/0.5034, allocations: 1.212 MB / 0.5093 GB, free: 9.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5034, allocations: 10.22 kB / 0.5093 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.5054, allocations: 245.9 kB / 0.5095 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.5061, allocations: 389.8 kB / 0.5099 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.5062, allocations: 31.72 kB / 0.5099 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.5063, allocations: 36.03 kB / 0.51 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.5081, allocations: 0.6948 MB / 0.5106 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5082, allocations: 4.812 kB / 0.5106 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.5082, allocations: 21.66 kB / 0.5107 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.5083, allocations: 14.47 kB / 0.5107 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.51, allocations: 0.5893 MB / 0.5113 GB, free: 7.863 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.003706/0.5137, allocations: 3.316 MB / 0.5145 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5151, allocations: 470.6 kB / 0.5149 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.5156, allocations: 185.2 kB / 0.5151 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1217/0.6373, allocations: 56.33 MB / 0.5701 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.6374, allocations: 34.56 kB / 0.5702 GB, free: 11.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.775e-06/0.6374, allocations: 0 / 0.5702 GB, free: 11.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003542/0.641, allocations: 0.9359 MB / 0.5711 GB, free: 10.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.6411, allocations: 106.8 kB / 0.5712 GB, free: 10.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.6417, allocations: 409.7 kB / 0.5716 GB, free: 9.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.6418, allocations: 25.7 kB / 0.5716 GB, free: 9.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.642, allocations: 259.7 kB / 0.5718 GB, free: 9.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6422, allocations: 90.69 kB / 0.5719 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.6423, allocations: 45.7 kB / 0.572 GB, free: 9.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6424, allocations: 350.7 kB / 0.5723 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.6428, allocations: 144.8 kB / 0.5724 GB, free: 8.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.6434, allocations: 329.5 kB / 0.5728 GB, free: 8.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.6442, allocations: 468.2 kB / 0.5732 GB, free: 8.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6442, allocations: 0 / 0.5732 GB, free: 8.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001248/0.6455, allocations: 0.541 MB / 0.5737 GB, free: 7.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.6457, allocations: 240.5 kB / 0.574 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6457, allocations: 7.938 kB / 0.574 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/0.649, allocations: 376.3 kB / 0.5743 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.6494, allocations: 99.88 kB / 0.5744 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005327/0.65, allocations: 0.6071 MB / 0.575 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.6505, allocations: 79.47 kB / 0.5751 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.6506, allocations: 20 kB / 0.5751 GB, free: 5.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.6506, allocations: 7.938 kB / 0.5751 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000958/0.6516, allocations: 449.6 kB / 0.5755 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6516, allocations: 8 kB / 0.5756 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.6516, allocations: 11.94 kB / 0.5756 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.652, allocations: 120.4 kB / 0.5757 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.652, allocations: 11.94 kB / 0.5757 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.6525, allocations: 71.5 kB / 0.5758 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.6525, allocations: 20 kB / 0.5758 GB, free: 5.277 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 (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.0003268/0.6529, allocations: 245 kB / 0.576 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.653, allocations: 43.53 kB / 0.5761 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.6557, allocations: 1.93 MB / 0.5779 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.6557, allocations: 27.95 kB / 0.578 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6557, allocations: 128 / 0.578 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.6557, allocations: 7.984 kB / 0.578 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.6568, allocations: 0.9712 MB / 0.5789 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6568, allocations: 3.938 kB / 0.5789 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.6572, allocations: 79.88 kB / 0.579 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.6586, allocations: 0.6347 MB / 0.5796 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.6587, allocations: 8 kB / 0.5796 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000817/0.6595, allocations: 1.022 MB / 0.5806 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6595, allocations: 0 / 0.5806 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.6612, allocations: 1.321 MB / 0.5819 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.6616, allocations: 255.4 kB / 0.5822 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.6617, allocations: 7.984 kB / 0.5822 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.662, allocations: 31.98 kB / 0.5822 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6621, allocations: 39.83 kB / 0.5822 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.6622, allocations: 19.92 kB / 0.5823 GB, free: 14.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004328/0.6626, allocations: 378.8 kB / 0.5826 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6626, allocations: 0 / 0.5826 GB, free: 14.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005027/0.6676, allocations: 1.144 MB / 0.5837 GB, free: 12.98 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.008249/0.6759, allocations: 1.215 MB / 0.5849 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.678, allocations: 0.8301 MB / 0.5857 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.678, allocations: 0.75 kB / 0.5857 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007681/0.6788, allocations: 496.8 kB / 0.5862 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.6805, allocations: 237.5 kB / 0.5864 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.6831, allocations: 1.933 MB / 0.5883 GB, free: 8.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.6837, allocations: 0.9677 MB / 0.5893 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008719/0.6846, allocations: 0.4994 MB / 0.5898 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.6848, allocations: 51.42 kB / 0.5898 GB, free: 6.707 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.6848, allocations: 0 / 0.5898 GB, free: 6.707 MB / 462.1 MB Notification: Performance of Templates: time 0.2416/0.9263, allocations: 40.77 MB / 0.6296 GB, free: 157.2 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: