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.0009203/0.0009202, allocations: 100.5 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.0009318/0.0009319, allocations: 177.3 kB / 15.94 MB, free: 228 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.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.859/0.859, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 13.2 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1451, allocations: 82.3 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.4094/0.5545, allocations: 177 MB / 0.76 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.5751, allocations: 18.59 MB / 0.7782 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.5768, allocations: 43.69 kB / 0.7782 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.5791, allocations: 0.7621 MB / 0.7789 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008521/0.5876, allocations: 2.909 MB / 0.7818 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.5909, allocations: 1.218 MB / 0.783 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.5947, allocations: 2.273 MB / 0.7852 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.5965, allocations: 1.196 MB / 0.7864 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.6001, allocations: 1.671 MB / 0.788 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.6023, allocations: 1.125 MB / 0.7891 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003518/0.6027, allocations: 68 kB / 0.7892 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.6051, allocations: 0.8502 MB / 0.79 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.606, allocations: 0.5922 MB / 0.7906 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008286/0.6068, allocations: 360.8 kB / 0.7909 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.6096, allocations: 1.949 MB / 0.7928 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.6096, allocations: 0 / 0.7928 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6096, allocations: 0 / 0.7928 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.003e-05/0.6097, allocations: 0 / 0.7928 GB, free: 9.957 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.002605/0.6123, allocations: 1.705 MB / 0.7945 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6123, allocations: 8.031 kB / 0.7945 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.6143, allocations: 401.5 kB / 0.7949 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.6161, allocations: 1.055 MB / 0.7959 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.6162, allocations: 102.6 kB / 0.796 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.6164, allocations: 139.9 kB / 0.7961 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.6186, allocations: 1.567 MB / 0.7977 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.6186, allocations: 0 / 0.7977 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6187, allocations: 56 kB / 0.7977 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.6188, allocations: 46.45 kB / 0.7978 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.6207, allocations: 1.282 MB / 0.799 GB, free: 3.414 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.007315/0.628, allocations: 6.481 MB / 0.8053 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.6292, allocations: 0.9292 MB / 0.8063 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.6296, allocations: 157.7 kB / 0.8064 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.6297, allocations: 47.16 kB / 0.8064 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/0.6297, allocations: 0 / 0.8064 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.00485/0.6345, allocations: 2.93 MB / 0.8093 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.6346, allocations: 64.41 kB / 0.8094 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.636, allocations: 1.185 MB / 0.8105 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.636, allocations: 53.7 kB / 0.8106 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.6365, allocations: 0.6799 MB / 0.8112 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6367, allocations: 303.7 kB / 0.8115 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.6368, allocations: 20 kB / 0.8116 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6369, allocations: 341.9 kB / 0.8119 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.6375, allocations: 365.8 kB / 0.8122 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.6382, allocations: 0.7285 MB / 0.8129 GB, free: 4.395 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.009965/0.6482, allocations: 2.359 MB / 0.8152 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6482, allocations: 4 kB / 0.8152 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001917/0.6502, allocations: 1.298 MB / 0.8165 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6502, allocations: 14.38 kB / 0.8165 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6502, allocations: 8 kB / 0.8165 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.6505, allocations: 130.5 kB / 0.8167 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.6512, allocations: 207.7 kB / 0.8169 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.6549, allocations: 4.868 MB / 0.8216 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.6563, allocations: 102.6 kB / 0.8217 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.6564, allocations: 47.98 kB / 0.8218 GB, free: 10.93 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.0006574/0.657, allocations: 432 kB / 0.8222 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.6573, allocations: 142.3 kB / 0.8223 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.6589, allocations: 1.1 MB / 0.8234 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6589, allocations: 8 kB / 0.8234 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6589, allocations: 0 / 0.8234 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.6601, allocations: 1.043 MB / 0.8244 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.6654, allocations: 3.113 MB / 0.8274 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.6655, allocations: 8 kB / 0.8274 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/0.6662, allocations: 159.8 kB / 0.8276 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.6664, allocations: 135.1 kB / 0.8277 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.6665, allocations: 27.98 kB / 0.8278 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/0.6703, allocations: 4.852 MB / 0.8325 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.6704, allocations: 11.94 kB / 0.8325 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.6728, allocations: 2.119 MB / 0.8346 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/0.6735, allocations: 319.2 kB / 0.8349 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.6737, allocations: 24 kB / 0.8349 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/0.6747, allocations: 69.16 kB / 0.835 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6749, allocations: 80.33 kB / 0.835 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.6749, allocations: 35.98 kB / 0.8351 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001208/0.6761, allocations: 0.8343 MB / 0.8359 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6761, allocations: 0 / 0.8359 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001457/0.6776, allocations: 408 kB / 0.8363 GB, free: 10.97 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.0005115/0.6781, allocations: 257.5 kB / 0.8365 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.6799, allocations: 1.261 MB / 0.8378 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.68, allocations: 0.6875 kB / 0.8378 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.6809, allocations: 0.7854 MB / 0.8385 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.6843, allocations: 0.8382 MB / 0.8393 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.6887, allocations: 3.352 MB / 0.8426 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.6898, allocations: 1.39 MB / 0.844 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001262/0.691, allocations: 356.8 kB / 0.8443 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.6913, allocations: 107.4 kB / 0.8444 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.6913, allocations: 0 / 0.8444 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of Templates: time 0.2702/0.9616, allocations: 29.39 MB / 0.8731 GB, free: 207.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: