Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001511/0.001511, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 193.7 kB / 16.79 MB, free: 6.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9218/0.9218, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 57.41 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1737, allocations: 80.93 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5278/0.7015, allocations: 212.4 MB / 0.7917 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.7264, allocations: 21.47 MB / 0.8127 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.7287, allocations: 47.69 kB / 0.8127 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.7311, allocations: 0.6255 MB / 0.8134 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.7414, allocations: 3.985 MB / 0.8173 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.7441, allocations: 0.9636 MB / 0.8182 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005981/0.7501, allocations: 5.37 MB / 0.8234 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.7523, allocations: 1.337 MB / 0.8247 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.7555, allocations: 1.447 MB / 0.8262 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003606/0.7591, allocations: 1.598 MB / 0.8277 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.7594, allocations: 92 kB / 0.8278 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.7636, allocations: 2.096 MB / 0.8299 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008184/0.7644, allocations: 0.67 MB / 0.8305 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.7657, allocations: 0.8746 MB / 0.8314 GB, free: 292 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.7683, allocations: 2.195 MB / 0.8335 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.7684, allocations: 0 / 0.8335 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.038e-06/0.7684, allocations: 3.984 kB / 0.8335 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.7684, allocations: 0 / 0.8335 GB, free: 14.08 MB / 0.6544 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.003179/0.7716, allocations: 2.049 MB / 0.8355 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.7717, allocations: 8.031 kB / 0.8355 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/0.7739, allocations: 397.5 kB / 0.8359 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.7758, allocations: 1.093 MB / 0.837 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.7759, allocations: 102.6 kB / 0.8371 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.7761, allocations: 143.8 kB / 0.8372 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.7785, allocations: 1.583 MB / 0.8387 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.7786, allocations: 4 kB / 0.8387 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.7787, allocations: 55.98 kB / 0.8388 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.7787, allocations: 50.44 kB / 0.8388 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.7807, allocations: 1.294 MB / 0.8401 GB, free: 7.121 MB / 0.6544 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.007712/0.7885, allocations: 6.473 MB / 0.8464 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.7899, allocations: 0.9397 MB / 0.8473 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.7905, allocations: 482.5 kB / 0.8478 GB, free: 14.81 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007273/0.7913, allocations: 413 kB / 0.8482 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.7913, allocations: 51.16 kB / 0.8483 GB, free: 14.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.7913, allocations: 0 / 0.8483 GB, free: 14.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005604/0.7969, allocations: 2.936 MB / 0.8511 GB, free: 11.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.797, allocations: 60.41 kB / 0.8512 GB, free: 11.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.7985, allocations: 1.197 MB / 0.8523 GB, free: 9.938 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.7986, allocations: 45.7 kB / 0.8524 GB, free: 9.887 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.7992, allocations: 0.6761 MB / 0.8531 GB, free: 9.203 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.7994, allocations: 303.6 kB / 0.8533 GB, free: 8.902 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.7997, allocations: 194.5 kB / 0.8535 GB, free: 8.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7999, allocations: 349.9 kB / 0.8539 GB, free: 8.359 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.8004, allocations: 377.7 kB / 0.8542 GB, free: 7.992 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.8013, allocations: 0.7363 MB / 0.8549 GB, free: 7.102 MB / 0.67 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.01247/0.8137, allocations: 2.917 MB / 0.8578 GB, free: 4.062 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.8138, allocations: 0 / 0.8578 GB, free: 4.062 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002259/0.8161, allocations: 1.293 MB / 0.859 GB, free: 2.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.8161, allocations: 8 kB / 0.8591 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.8161, allocations: 11.98 kB / 0.8591 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.8164, allocations: 142.4 kB / 0.8592 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.8172, allocations: 203.7 kB / 0.8594 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2867/1.104, allocations: 4.825 MB / 0.8641 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.106, allocations: 97.98 kB / 0.8642 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/1.106, allocations: 47.17 kB / 0.8642 GB, free: 219.2 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006249/1.106, allocations: 427.6 kB / 0.8647 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/1.106, allocations: 145.4 kB / 0.8648 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.108, allocations: 1.096 MB / 0.8659 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.108, allocations: 5.844 kB / 0.8659 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/1.108, allocations: 4.094 kB / 0.8659 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/1.109, allocations: 1.056 MB / 0.8669 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/1.113, allocations: 3.08 MB / 0.8699 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.113, allocations: 6.406 kB / 0.8699 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/1.114, allocations: 161.9 kB / 0.8701 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/1.114, allocations: 127.3 kB / 0.8702 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/1.114, allocations: 29.66 kB / 0.8702 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/1.117, allocations: 4.814 MB / 0.8749 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.117, allocations: 10.19 kB / 0.8749 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/1.119, allocations: 1.775 MB / 0.8767 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/1.12, allocations: 314.4 kB / 0.877 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/1.12, allocations: 23.62 kB / 0.877 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/1.121, allocations: 71.88 kB / 0.8771 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.121, allocations: 80.48 kB / 0.8771 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/1.121, allocations: 37.78 kB / 0.8772 GB, free: 211.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001005/1.122, allocations: 0.8418 MB / 0.878 GB, free: 211.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.122, allocations: 3.594 kB / 0.878 GB, free: 211.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001455/1.124, allocations: 411.7 kB / 0.8784 GB, free: 211.2 MB / 0.67 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005415/1.124, allocations: 242.3 kB / 0.8786 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001582/1.126, allocations: 1.267 MB / 0.8799 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.126, allocations: 6.625 kB / 0.8799 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/1.127, allocations: 0.7897 MB / 0.8806 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/1.13, allocations: 0.8529 MB / 0.8815 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/1.134, allocations: 3.479 MB / 0.8849 GB, free: 207.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007077/1.135, allocations: 1.359 MB / 0.8862 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/1.135, allocations: 121.4 kB / 0.8863 GB, free: 207.1 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/1.135, allocations: 0 / 0.8863 GB, free: 207.1 MB / 0.67 GB Notification: Performance of Templates: time 0.05407/1.189, allocations: 43.18 MB / 0.9285 GB, free: 193.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)