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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 197.6 kB / 16.14 MB, free: 6.688 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.104/1.104, 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-master/package.mo): time 0.7787/0.7787, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 64.25 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1266, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.3789/0.5056, allocations: 212.4 MB / 0.7912 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.5273, allocations: 21.48 MB / 0.8122 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.5292, allocations: 43.75 kB / 0.8122 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.5312, allocations: 0.6177 MB / 0.8128 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008551/0.5398, allocations: 3.986 MB / 0.8167 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.5422, allocations: 0.9633 MB / 0.8177 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00506/0.5472, allocations: 5.374 MB / 0.8229 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.549, allocations: 1.333 MB / 0.8242 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.5516, allocations: 1.443 MB / 0.8256 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.5546, allocations: 1.6 MB / 0.8272 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003093/0.5549, allocations: 88 kB / 0.8273 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.5585, allocations: 2.104 MB / 0.8293 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007454/0.5593, allocations: 0.6661 MB / 0.83 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.5606, allocations: 0.8862 MB / 0.8308 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.5642, allocations: 2.96 MB / 0.8337 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5642, allocations: 0 / 0.8337 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5642, allocations: 0 / 0.8337 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.474e-05/0.5643, allocations: 4 kB / 0.8337 GB, free: 13.24 MB / 0.6544 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.003147/0.5674, allocations: 2.04 MB / 0.8357 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5675, allocations: 11.97 kB / 0.8357 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.5677, allocations: 202.1 kB / 0.8359 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.5698, allocations: 397.5 kB / 0.8363 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.5716, allocations: 1.097 MB / 0.8374 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.5716, allocations: 98.56 kB / 0.8375 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.5718, allocations: 143.8 kB / 0.8376 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.574, allocations: 1.583 MB / 0.8391 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.574, allocations: 0 / 0.8391 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.5741, allocations: 56 kB / 0.8392 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.5742, allocations: 50.44 kB / 0.8392 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.5761, allocations: 1.298 MB / 0.8405 GB, free: 6.078 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.00663/0.5827, allocations: 6.473 MB / 0.8468 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.584, allocations: 0.9396 MB / 0.8478 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.5846, allocations: 482.5 kB / 0.8482 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/0.5853, allocations: 413 kB / 0.8486 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5853, allocations: 43.22 kB / 0.8486 GB, free: 13.24 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.185e-06/0.5853, allocations: 0 / 0.8486 GB, free: 13.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005054/0.5904, allocations: 2.94 MB / 0.8515 GB, free: 10.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.5904, allocations: 60.41 kB / 0.8516 GB, free: 10.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5918, allocations: 1.197 MB / 0.8527 GB, free: 8.898 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.5919, allocations: 45.7 kB / 0.8528 GB, free: 8.848 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.5924, allocations: 0.6799 MB / 0.8535 GB, free: 8.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.5926, allocations: 307.6 kB / 0.8537 GB, free: 7.855 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.5929, allocations: 194.5 kB / 0.8539 GB, free: 7.66 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.593, allocations: 349.9 kB / 0.8543 GB, free: 7.312 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.5935, allocations: 373.8 kB / 0.8546 GB, free: 6.949 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/0.5943, allocations: 0.7324 MB / 0.8553 GB, free: 6.062 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.01198/0.6063, allocations: 2.917 MB / 0.8582 GB, free: 3.023 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.6063, allocations: 12 kB / 0.8582 GB, free: 3.012 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001979/0.6083, allocations: 1.292 MB / 0.8595 GB, free: 1.703 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6083, allocations: 12 kB / 0.8595 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6084, allocations: 8.719 kB / 0.8595 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.6086, allocations: 130.5 kB / 0.8596 GB, free: 1.547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.6093, allocations: 211.7 kB / 0.8598 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1968/0.8062, allocations: 4.813 MB / 0.8645 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.8075, allocations: 101.3 kB / 0.8646 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.8076, allocations: 45.94 kB / 0.8646 GB, free: 218.3 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.000525/0.8081, allocations: 433.9 kB / 0.8651 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.8083, allocations: 146.5 kB / 0.8652 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.8096, allocations: 1.094 MB / 0.8663 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.8096, allocations: 8.156 kB / 0.8663 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.8097, allocations: 1.641 kB / 0.8663 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.8107, allocations: 1.053 MB / 0.8673 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/0.8145, allocations: 3.09 MB / 0.8703 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.8145, allocations: 5.625 kB / 0.8703 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.8152, allocations: 164.8 kB / 0.8705 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.8154, allocations: 125.4 kB / 0.8706 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.8154, allocations: 27.28 kB / 0.8706 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.8178, allocations: 4.811 MB / 0.8753 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.8179, allocations: 9.906 kB / 0.8753 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.8195, allocations: 1.775 MB / 0.8771 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.8199, allocations: 312.8 kB / 0.8774 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.8201, allocations: 26.97 kB / 0.8774 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/0.8209, allocations: 74.92 kB / 0.8775 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.821, allocations: 73.56 kB / 0.8775 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.821, allocations: 37.16 kB / 0.8776 GB, free: 210.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007879/0.8218, allocations: 0.8435 MB / 0.8784 GB, free: 210.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8218, allocations: 3.125 kB / 0.8784 GB, free: 210.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001179/0.823, allocations: 410.1 kB / 0.8788 GB, free: 210.3 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.002146/0.8252, allocations: 2.453 MB / 0.8812 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.8265, allocations: 1.272 MB / 0.8824 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8265, allocations: 2.969 kB / 0.8824 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.8272, allocations: 0.7855 MB / 0.8832 GB, free: 207.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.8301, allocations: 0.8533 MB / 0.884 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.8424, allocations: 12.61 MB / 0.8964 GB, free: 200.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.843, allocations: 1.356 MB / 0.8977 GB, free: 199.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001197/0.8442, allocations: 351 kB / 0.898 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/0.8448, allocations: 0.5459 MB / 0.8985 GB, free: 199 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.8448, allocations: 4 kB / 0.8985 GB, free: 199 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.9485, allocations: 41.9 MB / 0.9395 GB, free: 184.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.9488, allocations: 245.8 kB / 0.9397 GB, free: 184.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.585, allocations: 3.984 kB / 0.9397 GB, free: 184.7 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)