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.005113/0.005113, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001155/0.001155, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.819/0.819, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 72.72 kB / 0.5814 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5789/0.7401, allocations: 214.6 MB / 0.8693 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03018/0.7703, allocations: 21.33 MB / 0.8901 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.7731, allocations: 55.69 kB / 0.8902 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.776, allocations: 0.7532 MB / 0.8909 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.7909, allocations: 4.4 MB / 0.8952 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.7947, allocations: 1.064 MB / 0.8962 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006917/0.8017, allocations: 3.93 MB / 0.9001 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.8047, allocations: 1.57 MB / 0.9016 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.8089, allocations: 1.682 MB / 0.9032 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.8128, allocations: 1.554 MB / 0.9048 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006676/0.8134, allocations: 160 kB / 0.9049 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.818, allocations: 1.847 MB / 0.9067 GB, free: 8.797 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.8192, allocations: 0.7481 MB / 0.9074 GB, free: 8.047 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.8214, allocations: 0.9449 MB / 0.9084 GB, free: 7.098 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.8272, allocations: 2.945 MB / 0.9112 GB, free: 4.145 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8272, allocations: 0 / 0.9112 GB, free: 4.145 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8272, allocations: 0 / 0.9112 GB, free: 4.145 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001109/0.8273, allocations: 0 / 0.9112 GB, free: 4.145 MB / 0.67 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.005375/0.8327, allocations: 2.051 MB / 0.9132 GB, free: 2.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8328, allocations: 8.031 kB / 0.9133 GB, free: 2.031 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.8354, allocations: 393.6 kB / 0.9136 GB, free: 1.645 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.838, allocations: 1.147 MB / 0.9147 GB, free: 448 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/0.8381, allocations: 107.4 kB / 0.9148 GB, free: 340 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.8384, allocations: 143.9 kB / 0.915 GB, free: 196 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.8414, allocations: 1.579 MB / 0.9165 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.8415, allocations: 4 kB / 0.9165 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.8416, allocations: 56 kB / 0.9166 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.8417, allocations: 54.33 kB / 0.9166 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.8441, allocations: 1.294 MB / 0.9179 GB, free: 13.12 MB / 0.6856 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.01019/0.8543, allocations: 6.473 MB / 0.9242 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.8562, allocations: 0.9366 MB / 0.9251 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.857, allocations: 491.5 kB / 0.9256 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009077/0.8579, allocations: 413 kB / 0.926 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.858, allocations: 43.22 kB / 0.926 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.797e-06/0.858, allocations: 0 / 0.926 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.005952/0.864, allocations: 2.944 MB / 0.9289 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.8641, allocations: 68.33 kB / 0.929 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.866, allocations: 1.197 MB / 0.9301 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.8661, allocations: 41.7 kB / 0.9302 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.8668, allocations: 0.6799 MB / 0.9309 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.8671, allocations: 303.6 kB / 0.9311 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.8675, allocations: 194.5 kB / 0.9313 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.8677, allocations: 353.9 kB / 0.9317 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.8684, allocations: 377.8 kB / 0.932 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.8696, allocations: 0.7276 MB / 0.9327 GB, free: 13.1 MB / 0.7012 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.01161/0.8812, allocations: 2.914 MB / 0.9356 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.8812, allocations: 0 / 0.9356 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002306/0.8835, allocations: 1.304 MB / 0.9369 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.8836, allocations: 11.94 kB / 0.9369 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.8836, allocations: 12.12 kB / 0.9369 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.8839, allocations: 130.5 kB / 0.937 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.8847, allocations: 207.7 kB / 0.9372 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.8895, allocations: 5.377 MB / 0.9425 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8908, allocations: 43.97 kB / 0.9425 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.891, allocations: 48 kB / 0.9425 GB, free: 2.484 MB / 0.7012 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.0007973/0.8918, allocations: 425.5 kB / 0.9429 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.8922, allocations: 150.2 kB / 0.9431 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.8941, allocations: 1.092 MB / 0.9442 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.8941, allocations: 8 kB / 0.9442 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8941, allocations: 0 / 0.9442 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.8955, allocations: 1.058 MB / 0.9452 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/0.9013, allocations: 3.078 MB / 0.9482 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.9013, allocations: 8 kB / 0.9482 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007627/0.9021, allocations: 159.8 kB / 0.9484 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.9024, allocations: 135.2 kB / 0.9485 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.9025, allocations: 24 kB / 0.9485 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/0.9071, allocations: 5.358 MB / 0.9537 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.9071, allocations: 11.94 kB / 0.9538 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.9099, allocations: 1.758 MB / 0.9555 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008858/0.9108, allocations: 323.1 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.9111, allocations: 27.98 kB / 0.9558 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009428/0.9121, allocations: 24 kB / 0.9558 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.9122, allocations: 76.34 kB / 0.9559 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.9123, allocations: 39.98 kB / 0.9559 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001475/0.9138, allocations: 0.8422 MB / 0.9568 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.905e-06/0.9138, allocations: 0 / 0.9568 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002088/0.9159, allocations: 411.9 kB / 0.9572 GB, free: 2.672 MB / 0.7169 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.0006648/0.9166, allocations: 254.1 kB / 0.9574 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.9187, allocations: 1.296 MB / 0.9587 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.9187, allocations: 0 / 0.9587 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.9198, allocations: 0.7897 MB / 0.9594 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/0.9239, allocations: 0.8947 MB / 0.9603 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.9294, allocations: 2.834 MB / 0.9631 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.9308, allocations: 1.351 MB / 0.9644 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00149/0.9323, allocations: 352.6 kB / 0.9647 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.9327, allocations: 115.4 kB / 0.9648 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/0.9328, allocations: 0 / 0.9648 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.05847/0.9912, allocations: 32.14 MB / 0.9962 GB, free: 10.88 MB / 0.7637 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)