Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007485/0.0007487, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008268/0.0008267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.734/0.734, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002881, allocations: 12 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3506, allocations: 81.58 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.1946/0.5453, allocations: 195.5 MB / 0.774 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.5674, allocations: 19.83 MB / 0.7934 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.5688, allocations: 43.69 kB / 0.7934 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.5704, allocations: 0.5124 MB / 0.7939 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.5772, allocations: 2.973 MB / 0.7968 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.5792, allocations: 0.7774 MB / 0.7976 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004638/0.5839, allocations: 4.538 MB / 0.802 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.5857, allocations: 1.171 MB / 0.8031 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.5883, allocations: 1.401 MB / 0.8045 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.5909, allocations: 1.479 MB / 0.8059 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.5912, allocations: 72 kB / 0.806 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.5936, allocations: 0.9197 MB / 0.8069 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007858/0.5944, allocations: 0.6427 MB / 0.8075 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.5949, allocations: 360.8 kB / 0.8079 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.5971, allocations: 2.046 MB / 0.8099 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5971, allocations: 0 / 0.8099 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5971, allocations: 0 / 0.8099 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.307e-05/0.5971, allocations: 0 / 0.8099 GB, free: 7.719 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002676/0.5998, allocations: 1.722 MB / 0.8116 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.5999, allocations: 8.031 kB / 0.8116 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.6019, allocations: 397.5 kB / 0.8119 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.6036, allocations: 1.059 MB / 0.813 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.6037, allocations: 102.5 kB / 0.8131 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.6039, allocations: 132 kB / 0.8132 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.6062, allocations: 1.574 MB / 0.8147 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.6062, allocations: 12 kB / 0.8148 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6064, allocations: 55.98 kB / 0.8148 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.6064, allocations: 50.44 kB / 0.8149 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.6084, allocations: 1.282 MB / 0.8161 GB, free: 1.145 MB / 0.6387 GB 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.2467/0.855, allocations: 6.47 MB / 0.8224 GB, free: 217 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.8564, allocations: 0.9389 MB / 0.8233 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/0.857, allocations: 478.9 kB / 0.8238 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.8576, allocations: 424.6 kB / 0.8242 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.8577, allocations: 44.09 kB / 0.8242 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.8577, allocations: 0 / 0.8242 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.004781/0.8625, allocations: 2.931 MB / 0.8271 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.8625, allocations: 62.86 kB / 0.8272 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.8639, allocations: 1.189 MB / 0.8283 GB, free: 214 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.864, allocations: 42.92 kB / 0.8284 GB, free: 214 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.8644, allocations: 0.6842 MB / 0.829 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.8646, allocations: 303.6 kB / 0.8293 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.8646, allocations: 19.62 kB / 0.8293 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.8647, allocations: 348.9 kB / 0.8297 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.8652, allocations: 370.2 kB / 0.83 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/0.8659, allocations: 0.7286 MB / 0.8307 GB, free: 212.2 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009727/0.8757, allocations: 2.359 MB / 0.833 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8757, allocations: 2.688 kB / 0.8331 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001722/0.8774, allocations: 1.291 MB / 0.8343 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8774, allocations: 10.62 kB / 0.8343 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8775, allocations: 11.77 kB / 0.8343 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.8777, allocations: 130.9 kB / 0.8345 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.8785, allocations: 208.1 kB / 0.8347 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.8813, allocations: 4.824 MB / 0.8394 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8823, allocations: 107.1 kB / 0.8395 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.8824, allocations: 46.83 kB / 0.8395 GB, free: 206.6 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005067/0.8829, allocations: 425.7 kB / 0.8399 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.8831, allocations: 139.5 kB / 0.8401 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.8846, allocations: 1.094 MB / 0.8411 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8846, allocations: 9.75 kB / 0.8411 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.8847, allocations: 0 / 0.8411 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.8858, allocations: 1.052 MB / 0.8422 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.8901, allocations: 3.109 MB / 0.8452 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.8902, allocations: 5.219 kB / 0.8452 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.8909, allocations: 165.2 kB / 0.8454 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.8911, allocations: 128.2 kB / 0.8455 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.8911, allocations: 34.12 kB / 0.8455 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.8938, allocations: 4.806 MB / 0.8502 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8938, allocations: 6.5 kB / 0.8502 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.8958, allocations: 1.762 MB / 0.8519 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.8963, allocations: 323.3 kB / 0.8522 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.8964, allocations: 27.86 kB / 0.8523 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.8972, allocations: 71.38 kB / 0.8523 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.8974, allocations: 79.88 kB / 0.8524 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.8974, allocations: 35.58 kB / 0.8524 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008459/0.8983, allocations: 0.8333 MB / 0.8533 GB, free: 196.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.42e-07/0.8983, allocations: 0 / 0.8533 GB, free: 196.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001333/0.8996, allocations: 413.1 kB / 0.8537 GB, free: 196.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004113/0.9, allocations: 237.1 kB / 0.8539 GB, free: 196 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.9014, allocations: 1.271 MB / 0.8551 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9014, allocations: 0 / 0.8551 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.9021, allocations: 0.7895 MB / 0.8559 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.9053, allocations: 0.8543 MB / 0.8567 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.9083, allocations: 3.363 MB / 0.86 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.9089, allocations: 1.355 MB / 0.8613 GB, free: 190.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001032/0.91, allocations: 352.8 kB / 0.8617 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.9102, allocations: 111.4 kB / 0.8618 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.9102, allocations: 0 / 0.8618 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.03331/0.9436, allocations: 29.43 MB / 0.8905 GB, free: 161 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)