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.001067/0.001067, allocations: 106.1 kB / 16.41 MB, free: 6.449 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.00108/0.001081, allocations: 189.6 kB / 17.34 MB, free: 5.746 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7242/0.7242, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.39 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 80.92 MB / 0.6653 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5727/0.7189, allocations: 214.6 MB / 0.8749 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.7426, allocations: 21.32 MB / 0.8957 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.7448, allocations: 55.69 kB / 0.8958 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.747, allocations: 0.7336 MB / 0.8965 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.7574, allocations: 4.24 MB / 0.9006 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.7603, allocations: 1.062 MB / 0.9017 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004874/0.7652, allocations: 3.918 MB / 0.9055 GB, free: 9.152 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.7672, allocations: 1.574 MB / 0.907 GB, free: 7.555 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.7702, allocations: 1.65 MB / 0.9086 GB, free: 5.898 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.7732, allocations: 1.552 MB / 0.9102 GB, free: 4.348 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.7735, allocations: 160 kB / 0.9103 GB, free: 4.191 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.7772, allocations: 1.824 MB / 0.9121 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007185/0.778, allocations: 0.7443 MB / 0.9128 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.7791, allocations: 0.9527 MB / 0.9138 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004157/0.7833, allocations: 2.937 MB / 0.9166 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7833, allocations: 0 / 0.9166 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7833, allocations: 0 / 0.9166 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.62e-05/0.7834, allocations: 0 / 0.9166 GB, free: 13.71 MB / 0.6856 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.003202/0.7866, allocations: 2.049 MB / 0.9186 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7866, allocations: 17.09 kB / 0.9186 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.7887, allocations: 397.6 kB / 0.919 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.7907, allocations: 1.147 MB / 0.9201 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/0.7908, allocations: 98.56 kB / 0.9202 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.7909, allocations: 143.9 kB / 0.9204 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.7933, allocations: 1.583 MB / 0.9219 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.7934, allocations: 4 kB / 0.9219 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7935, allocations: 52 kB / 0.922 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.7935, allocations: 51.31 kB / 0.922 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.7954, allocations: 1.298 MB / 0.9233 GB, free: 6.691 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.007022/0.8025, allocations: 6.473 MB / 0.9296 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.8038, allocations: 0.9404 MB / 0.9305 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.8044, allocations: 490.4 kB / 0.931 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/0.8051, allocations: 417 kB / 0.9314 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.8051, allocations: 44.22 kB / 0.9314 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.8052, allocations: 0 / 0.9314 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004986/0.8101, allocations: 2.94 MB / 0.9343 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.8102, allocations: 60.41 kB / 0.9344 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.8116, allocations: 1.197 MB / 0.9355 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.8117, allocations: 41.7 kB / 0.9356 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.8121, allocations: 0.6798 MB / 0.9362 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.8123, allocations: 303.7 kB / 0.9365 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.8126, allocations: 190.6 kB / 0.9367 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8128, allocations: 361.8 kB / 0.9371 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.8133, allocations: 369.8 kB / 0.9374 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/0.8141, allocations: 0.7325 MB / 0.9381 GB, free: 6.66 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.01087/0.825, allocations: 2.902 MB / 0.941 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.825, allocations: 0 / 0.941 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002053/0.8271, allocations: 1.3 MB / 0.9422 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.8271, allocations: 8.781 kB / 0.9422 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8271, allocations: 8 kB / 0.9422 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.8274, allocations: 143.4 kB / 0.9424 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.8281, allocations: 199.7 kB / 0.9426 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.8322, allocations: 5.377 MB / 0.9478 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.8335, allocations: 59.81 kB / 0.9479 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.8336, allocations: 44 kB / 0.9479 GB, free: 12.05 MB / 0.7169 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.0006884/0.8343, allocations: 425.4 kB / 0.9483 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.8345, allocations: 146.2 kB / 0.9485 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.8361, allocations: 1.104 MB / 0.9495 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.8361, allocations: 8 kB / 0.9495 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.8361, allocations: 0 / 0.9495 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/0.8375, allocations: 1.054 MB / 0.9506 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.8421, allocations: 3.085 MB / 0.9536 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.8422, allocations: 8 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.8428, allocations: 155.8 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.8431, allocations: 131.2 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.8432, allocations: 31.98 kB / 0.9539 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.8471, allocations: 5.353 MB / 0.9591 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.8471, allocations: 13.27 kB / 0.9591 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.8494, allocations: 1.762 MB / 0.9609 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.85, allocations: 323.2 kB / 0.9612 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.8501, allocations: 20 kB / 0.9612 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.8509, allocations: 30.39 kB / 0.9612 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.851, allocations: 80.44 kB / 0.9613 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.8511, allocations: 35.98 kB / 0.9613 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001086/0.8522, allocations: 0.8461 MB / 0.9622 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8522, allocations: 0 / 0.9622 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001426/0.8536, allocations: 408 kB / 0.9625 GB, free: 12.23 MB / 0.7325 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.0005322/0.8542, allocations: 244.8 kB / 0.9628 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.8559, allocations: 1.297 MB / 0.964 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8559, allocations: 8 kB / 0.9641 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.8568, allocations: 0.7815 MB / 0.9648 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.8603, allocations: 0.9018 MB / 0.9657 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.8645, allocations: 2.923 MB / 0.9686 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/0.8654, allocations: 1.359 MB / 0.9699 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.8658, allocations: 115.4 kB / 0.97 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8658, allocations: 0 / 0.97 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of Templates: time 0.04728/0.9131, allocations: 43.48 MB / 1.012 GB, free: 9.102 MB / 0.7794 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)