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-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_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.0008167/0.0008167, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008219/0.0008219, allocations: 177.3 kB / 15.95 MB, free: 216 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.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8464/0.8464, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.4077/0.5558, allocations: 177 MB / 0.76 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.577, allocations: 18.59 MB / 0.7782 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.5792, allocations: 43.69 kB / 0.7782 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.5819, allocations: 0.7543 MB / 0.779 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007908/0.5898, allocations: 2.918 MB / 0.7818 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.5934, allocations: 1.213 MB / 0.783 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004118/0.5975, allocations: 2.269 MB / 0.7852 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.5993, allocations: 1.202 MB / 0.7864 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.6027, allocations: 1.671 MB / 0.788 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.6046, allocations: 1.129 MB / 0.7891 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.6047, allocations: 72 kB / 0.7892 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.6069, allocations: 0.8385 MB / 0.79 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005483/0.6075, allocations: 0.5922 MB / 0.7906 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.6079, allocations: 360.8 kB / 0.7909 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.6097, allocations: 1.948 MB / 0.7928 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.6097, allocations: 0 / 0.7928 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6097, allocations: 0 / 0.7928 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.6097, allocations: 4 kB / 0.7928 GB, free: 9.926 MB / 0.6075 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.002489/0.6122, allocations: 1.701 MB / 0.7945 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.6123, allocations: 8.031 kB / 0.7945 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.6142, allocations: 405.5 kB / 0.7949 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.616, allocations: 1.051 MB / 0.7959 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.6161, allocations: 106.5 kB / 0.796 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.6163, allocations: 136 kB / 0.7961 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.6185, allocations: 1.563 MB / 0.7977 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.6185, allocations: 4 kB / 0.7977 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.6186, allocations: 56 kB / 0.7977 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.6187, allocations: 50.44 kB / 0.7978 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.6205, allocations: 1.282 MB / 0.799 GB, free: 3.383 MB / 0.6075 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.007336/0.6278, allocations: 6.489 MB / 0.8054 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.6291, allocations: 0.9256 MB / 0.8063 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.6296, allocations: 157.7 kB / 0.8064 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.6296, allocations: 43.16 kB / 0.8065 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.966e-06/0.6296, allocations: 0 / 0.8065 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.004928/0.6345, allocations: 2.934 MB / 0.8093 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.6346, allocations: 68.41 kB / 0.8094 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.636, allocations: 1.185 MB / 0.8105 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.6361, allocations: 49.7 kB / 0.8106 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.6367, allocations: 0.6799 MB / 0.8113 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.6369, allocations: 295.7 kB / 0.8115 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.637, allocations: 20 kB / 0.8116 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6371, allocations: 345.9 kB / 0.8119 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.6377, allocations: 369.8 kB / 0.8122 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.6384, allocations: 0.7246 MB / 0.8129 GB, free: 4.363 MB / 0.6231 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.009875/0.6483, allocations: 2.367 MB / 0.8153 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6484, allocations: 4 kB / 0.8153 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001959/0.6503, allocations: 1.297 MB / 0.8165 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6503, allocations: 8 kB / 0.8165 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6504, allocations: 8 kB / 0.8165 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.6506, allocations: 134.4 kB / 0.8167 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.6514, allocations: 207.7 kB / 0.8169 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.6552, allocations: 4.86 MB / 0.8216 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.6564, allocations: 102.5 kB / 0.8217 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.6565, allocations: 44 kB / 0.8218 GB, free: 10.91 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.0006133/0.6571, allocations: 433.8 kB / 0.8222 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6573, allocations: 138.3 kB / 0.8223 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.6589, allocations: 1.104 MB / 0.8234 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.6589, allocations: 11.98 kB / 0.8234 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.6589, allocations: 4 kB / 0.8234 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.6601, allocations: 1.047 MB / 0.8244 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/0.6648, allocations: 3.109 MB / 0.8275 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.6648, allocations: 8.75 kB / 0.8275 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.6655, allocations: 163.8 kB / 0.8276 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.6657, allocations: 126.4 kB / 0.8277 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.6658, allocations: 31.98 kB / 0.8278 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.6692, allocations: 4.844 MB / 0.8325 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.6693, allocations: 11.94 kB / 0.8325 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.6716, allocations: 2.12 MB / 0.8346 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.6722, allocations: 315.7 kB / 0.8349 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.6724, allocations: 27.98 kB / 0.8349 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.6732, allocations: 65.17 kB / 0.835 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.6733, allocations: 80.31 kB / 0.835 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.6734, allocations: 39.98 kB / 0.8351 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009954/0.6744, allocations: 0.8304 MB / 0.8359 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6744, allocations: 0 / 0.8359 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001325/0.6757, allocations: 412 kB / 0.8363 GB, free: 10.94 MB / 0.6544 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.0004683/0.6762, allocations: 257.7 kB / 0.8365 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.6778, allocations: 1.261 MB / 0.8378 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.6778, allocations: 4 kB / 0.8378 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.6786, allocations: 0.778 MB / 0.8385 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/0.6819, allocations: 0.8417 MB / 0.8394 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.6859, allocations: 3.362 MB / 0.8426 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.6867, allocations: 1.39 MB / 0.844 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001184/0.6879, allocations: 356.8 kB / 0.8443 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.6882, allocations: 111.4 kB / 0.8444 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.6882, allocations: 0 / 0.8444 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of Templates: time 0.2705/0.9587, allocations: 29.38 MB / 0.8731 GB, free: 207.4 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: