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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.353/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.38 kB / 0.5011 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1742, allocations: 80.22 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5276/0.7018, allocations: 212.4 MB / 0.7868 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0273/0.7292, allocations: 21.48 MB / 0.8078 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.7315, allocations: 47.69 kB / 0.8078 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.734, allocations: 0.6178 MB / 0.8084 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.7459, allocations: 3.991 MB / 0.8123 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.7496, allocations: 0.9557 MB / 0.8133 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007313/0.7569, allocations: 5.378 MB / 0.8185 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.7598, allocations: 1.333 MB / 0.8198 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.7642, allocations: 1.44 MB / 0.8212 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004688/0.7689, allocations: 1.601 MB / 0.8228 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008155/0.7698, allocations: 88 kB / 0.8229 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.7753, allocations: 2.096 MB / 0.8249 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.7768, allocations: 0.6739 MB / 0.8256 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.7795, allocations: 0.8824 MB / 0.8264 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006443/0.7859, allocations: 2.956 MB / 0.8293 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.786, allocations: 3.938 kB / 0.8293 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.363e-06/0.786, allocations: 0 / 0.8293 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001077/0.7861, allocations: 4 kB / 0.8293 GB, free: 3.215 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.005668/0.7918, allocations: 2.04 MB / 0.8313 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.7919, allocations: 8.031 kB / 0.8313 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.7948, allocations: 405.5 kB / 0.8317 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.7975, allocations: 1.097 MB / 0.8328 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/0.7976, allocations: 102.6 kB / 0.8329 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/0.798, allocations: 135.9 kB / 0.833 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/0.8013, allocations: 1.59 MB / 0.8346 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.8014, allocations: 0 / 0.8346 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.8015, allocations: 56 kB / 0.8346 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/0.8016, allocations: 50.39 kB / 0.8347 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.8041, allocations: 1.294 MB / 0.8359 GB, free: 12.25 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.009826/0.8139, allocations: 6.481 MB / 0.8423 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.8155, allocations: 0.9364 MB / 0.8432 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000701/0.8162, allocations: 478.5 kB / 0.8436 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008073/0.817, allocations: 413 kB / 0.844 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.8171, allocations: 47.2 kB / 0.8441 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.8171, allocations: 0 / 0.8441 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.006291/0.8234, allocations: 2.94 MB / 0.847 GB, free: 364 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.8235, allocations: 72.34 kB / 0.847 GB, free: 280 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.8255, allocations: 1.197 MB / 0.8482 GB, free: 15.06 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.8257, allocations: 45.7 kB / 0.8482 GB, free: 15.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.8262, allocations: 0.6761 MB / 0.8489 GB, free: 14.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.8266, allocations: 303.6 kB / 0.8492 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.8269, allocations: 194.5 kB / 0.8494 GB, free: 13.83 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8271, allocations: 349.9 kB / 0.8497 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.8277, allocations: 369.8 kB / 0.8501 GB, free: 13.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.8287, allocations: 0.7364 MB / 0.8508 GB, free: 12.23 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.0131/0.8418, allocations: 2.914 MB / 0.8536 GB, free: 9.191 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.8418, allocations: 0 / 0.8536 GB, free: 9.191 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00255/0.8444, allocations: 1.296 MB / 0.8549 GB, free: 7.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.8444, allocations: 8 kB / 0.8549 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.8444, allocations: 8 kB / 0.8549 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.8448, allocations: 139.1 kB / 0.855 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.8456, allocations: 207.7 kB / 0.8552 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.8499, allocations: 4.825 MB / 0.8599 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.8515, allocations: 111.7 kB / 0.8601 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.8516, allocations: 44 kB / 0.8601 GB, free: 2.133 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.0008589/0.8525, allocations: 428.8 kB / 0.8605 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.8529, allocations: 142.3 kB / 0.8606 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.8549, allocations: 1.092 MB / 0.8617 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.8549, allocations: 12 kB / 0.8617 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8549, allocations: 7.984 kB / 0.8617 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3033/1.158, allocations: 1.048 MB / 0.8627 GB, free: 225.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/1.163, allocations: 3.084 MB / 0.8658 GB, free: 224.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.163, allocations: 5.781 kB / 0.8658 GB, free: 224.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/1.164, allocations: 161.3 kB / 0.8659 GB, free: 224.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/1.164, allocations: 125.7 kB / 0.866 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/1.164, allocations: 29.78 kB / 0.8661 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/1.167, allocations: 4.813 MB / 0.8708 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/1.167, allocations: 15 kB / 0.8708 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.169, allocations: 1.775 MB / 0.8725 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/1.169, allocations: 316.7 kB / 0.8728 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.17, allocations: 26.77 kB / 0.8728 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/1.17, allocations: 78.33 kB / 0.8729 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.171, allocations: 70.56 kB / 0.873 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/1.171, allocations: 38.48 kB / 0.873 GB, free: 219.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001014/1.172, allocations: 0.8496 MB / 0.8739 GB, free: 218.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.172, allocations: 3.094 kB / 0.8739 GB, free: 218.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001445/1.173, allocations: 400.5 kB / 0.8742 GB, free: 218.9 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.0004965/1.174, allocations: 236.7 kB / 0.8745 GB, free: 218.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001611/1.175, allocations: 1.27 MB / 0.8757 GB, free: 218.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.175, allocations: 2.906 kB / 0.8757 GB, free: 218.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/1.176, allocations: 0.7925 MB / 0.8765 GB, free: 217.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/1.179, allocations: 0.8544 MB / 0.8773 GB, free: 217.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/1.183, allocations: 3.379 MB / 0.8806 GB, free: 215.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/1.184, allocations: 1.351 MB / 0.8819 GB, free: 214.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001341/1.186, allocations: 351.7 kB / 0.8823 GB, free: 214.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/1.186, allocations: 115 kB / 0.8824 GB, free: 214.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/1.186, allocations: 2.844 kB / 0.8824 GB, free: 214.8 MB / 0.67 GB Notification: Performance of Templates: time 0.05845/1.244, allocations: 30.55 MB / 0.9122 GB, free: 209.3 MB / 0.67 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)