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.001096/0.001101, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001188/0.001188, allocations: 192.6 kB / 16.25 MB, free: 6.641 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 71.72 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1913, allocations: 80.93 MB / 0.5839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5388/0.7301, allocations: 211.9 MB / 0.7908 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.7552, allocations: 21.18 MB / 0.8115 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.757, allocations: 47.69 kB / 0.8115 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.7591, allocations: 0.6373 MB / 0.8122 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.7692, allocations: 3.993 MB / 0.8161 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.772, allocations: 0.9634 MB / 0.817 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004606/0.7766, allocations: 3.927 MB / 0.8208 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.7786, allocations: 1.521 MB / 0.8223 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.7817, allocations: 1.643 MB / 0.8239 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.7847, allocations: 1.645 MB / 0.8255 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.785, allocations: 164 kB / 0.8257 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.7889, allocations: 1.913 MB / 0.8276 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009204/0.7899, allocations: 0.7519 MB / 0.8283 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.7912, allocations: 0.9605 MB / 0.8292 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.7957, allocations: 3.022 MB / 0.8322 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7957, allocations: 0 / 0.8322 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7957, allocations: 0 / 0.8322 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.7957, allocations: 0 / 0.8322 GB, free: 14.85 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.003212/0.7989, allocations: 2.055 MB / 0.8342 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.799, allocations: 12.03 kB / 0.8342 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.8012, allocations: 393.5 kB / 0.8346 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.803, allocations: 1.097 MB / 0.8357 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.8031, allocations: 102.6 kB / 0.8358 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.8033, allocations: 135.8 kB / 0.8359 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.8058, allocations: 1.59 MB / 0.8374 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.8058, allocations: 0 / 0.8374 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.8059, allocations: 55.98 kB / 0.8375 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-05/0.806, allocations: 58.44 kB / 0.8375 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.8079, allocations: 1.294 MB / 0.8388 GB, free: 7.875 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.007741/0.8157, allocations: 6.461 MB / 0.8451 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.8171, allocations: 0.9436 MB / 0.846 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.8177, allocations: 482.5 kB / 0.8465 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007164/0.8184, allocations: 409 kB / 0.8469 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.8185, allocations: 47.22 kB / 0.8469 GB, free: 15.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.8185, allocations: 0 / 0.8469 GB, free: 15.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005553/0.824, allocations: 2.936 MB / 0.8498 GB, free: 12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.8241, allocations: 60.41 kB / 0.8499 GB, free: 11.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.8257, allocations: 1.201 MB / 0.851 GB, free: 10.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.505e-05/0.8258, allocations: 45.7 kB / 0.8511 GB, free: 10.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.8264, allocations: 0.6799 MB / 0.8517 GB, free: 9.973 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.8266, allocations: 299.6 kB / 0.852 GB, free: 9.676 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.827, allocations: 198.5 kB / 0.8522 GB, free: 9.477 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8271, allocations: 345.9 kB / 0.8525 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.8277, allocations: 373.8 kB / 0.8529 GB, free: 8.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.8286, allocations: 0.7325 MB / 0.8536 GB, free: 7.883 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.01132/0.8399, allocations: 2.921 MB / 0.8565 GB, free: 4.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.8399, allocations: 4.875 kB / 0.8565 GB, free: 4.836 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002095/0.842, allocations: 1.296 MB / 0.8577 GB, free: 3.523 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8421, allocations: 8 kB / 0.8577 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.8421, allocations: 8 kB / 0.8578 GB, free: 3.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.8424, allocations: 134.9 kB / 0.8579 GB, free: 3.367 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.8431, allocations: 207.7 kB / 0.8581 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.264/1.107, allocations: 5.368 MB / 0.8633 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.109, allocations: 114.5 kB / 0.8634 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.109, allocations: 45 kB / 0.8635 GB, free: 219 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.0007689/1.11, allocations: 429.8 kB / 0.8639 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/1.11, allocations: 138.2 kB / 0.864 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/1.112, allocations: 1.096 MB / 0.8651 GB, free: 218.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.112, allocations: 10.66 kB / 0.8651 GB, free: 218.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/1.112, allocations: 0 / 0.8651 GB, free: 218.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/1.113, allocations: 1.053 MB / 0.8661 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005079/1.118, allocations: 3.08 MB / 0.8691 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.118, allocations: 6.938 kB / 0.8691 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/1.119, allocations: 160.8 kB / 0.8693 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/1.119, allocations: 131.6 kB / 0.8694 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/1.119, allocations: 26.34 kB / 0.8694 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/1.122, allocations: 5.371 MB / 0.8747 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.122, allocations: 5.719 kB / 0.8747 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.125, allocations: 1.762 MB / 0.8764 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/1.125, allocations: 319.9 kB / 0.8767 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.126, allocations: 30.23 kB / 0.8767 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/1.126, allocations: 75.86 kB / 0.8768 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.127, allocations: 79.14 kB / 0.8769 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/1.127, allocations: 34.31 kB / 0.8769 GB, free: 211 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009565/1.128, allocations: 0.8466 MB / 0.8778 GB, free: 210.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.128, allocations: 0 / 0.8778 GB, free: 210.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001395/1.129, allocations: 409 kB / 0.8781 GB, free: 210.6 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.0005084/1.13, allocations: 246.6 kB / 0.8784 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001967/1.131, allocations: 1.442 MB / 0.8798 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.132, allocations: 2.875 kB / 0.8798 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/1.132, allocations: 0.7888 MB / 0.8806 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.136, allocations: 0.9144 MB / 0.8815 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/1.14, allocations: 3.358 MB / 0.8847 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/1.14, allocations: 1.366 MB / 0.8861 GB, free: 206.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001271/1.142, allocations: 349.9 kB / 0.8864 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/1.142, allocations: 112 kB / 0.8865 GB, free: 206.5 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/1.142, allocations: 0 / 0.8865 GB, free: 206.5 MB / 0.67 GB Notification: Performance of Templates: time 0.05804/1.2, allocations: 31.73 MB / 0.9175 GB, free: 200.1 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)