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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7663/0.7663, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 60.23 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4215, allocations: 80.21 MB / 0.5802 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2482/0.6697, allocations: 214.6 MB / 0.7898 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03242/0.7022, allocations: 21.33 MB / 0.8106 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.7049, allocations: 55.69 kB / 0.8107 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.7074, allocations: 0.7375 MB / 0.8114 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.4899/1.197, allocations: 4.236 MB / 0.8155 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/1.2, allocations: 1.053 MB / 0.8165 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006656/1.207, allocations: 3.9 MB / 0.8204 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/1.21, allocations: 1.576 MB / 0.8219 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/1.213, allocations: 1.622 MB / 0.8235 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/1.218, allocations: 1.543 MB / 0.825 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006115/1.218, allocations: 163.5 kB / 0.8251 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/1.223, allocations: 1.822 MB / 0.8269 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.225, allocations: 0.7412 MB / 0.8276 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002138/1.227, allocations: 0.9524 MB / 0.8286 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00657/1.233, allocations: 2.901 MB / 0.8314 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.233, allocations: 0 / 0.8314 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/1.233, allocations: 3.188 kB / 0.8314 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.749e-05/1.233, allocations: 0 / 0.8314 GB, free: 4.426 MB / 0.6387 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.004847/1.238, allocations: 2.04 MB / 0.8334 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.238, allocations: 10.94 kB / 0.8334 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/1.239, allocations: 200.9 kB / 0.8336 GB, free: 19.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/1.241, allocations: 396.1 kB / 0.834 GB, free: 19.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.243, allocations: 1.101 MB / 0.8351 GB, free: 18.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/1.243, allocations: 100.5 kB / 0.8351 GB, free: 18.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/1.243, allocations: 136.8 kB / 0.8353 GB, free: 18.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/1.245, allocations: 1.592 MB / 0.8368 GB, free: 18.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.245, allocations: 0.875 kB / 0.8368 GB, free: 18.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.246, allocations: 57.84 kB / 0.8369 GB, free: 18.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/1.246, allocations: 52.86 kB / 0.8369 GB, free: 18.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/1.247, allocations: 1.294 MB / 0.8382 GB, free: 18.68 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.007876/1.255, allocations: 6.518 MB / 0.8446 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.257, allocations: 0.9437 MB / 0.8455 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/1.257, allocations: 481.4 kB / 0.8459 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/1.258, allocations: 414 kB / 0.8463 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.258, allocations: 44.22 kB / 0.8464 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/1.258, allocations: 1.062 kB / 0.8464 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005662/1.264, allocations: 2.938 MB / 0.8493 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.264, allocations: 63.06 kB / 0.8493 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.266, allocations: 1.198 MB / 0.8505 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/1.266, allocations: 46.23 kB / 0.8505 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/1.266, allocations: 0.6755 MB / 0.8512 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/1.267, allocations: 301.4 kB / 0.8515 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.267, allocations: 196.5 kB / 0.8517 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.267, allocations: 352.7 kB / 0.852 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/1.268, allocations: 373.3 kB / 0.8524 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/1.269, allocations: 0.7318 MB / 0.8531 GB, free: 12.66 MB / 0.6544 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.01255/1.281, allocations: 2.916 MB / 0.8559 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.281, allocations: 3.438 kB / 0.8559 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002748/1.284, allocations: 1.293 MB / 0.8572 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/1.284, allocations: 11.78 kB / 0.8572 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.284, allocations: 8.547 kB / 0.8572 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/1.284, allocations: 138.8 kB / 0.8573 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/1.285, allocations: 204.6 kB / 0.8575 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/1.29, allocations: 5.369 MB / 0.8628 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/1.291, allocations: 50.53 kB / 0.8628 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/1.292, allocations: 48.75 kB / 0.8629 GB, free: 7.613 MB / 0.6544 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.0009961/1.293, allocations: 434.4 kB / 0.8633 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/1.293, allocations: 139.6 kB / 0.8634 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/1.295, allocations: 1.099 MB / 0.8645 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.295, allocations: 8.375 kB / 0.8645 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.295, allocations: 0 / 0.8645 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/1.296, allocations: 1.056 MB / 0.8655 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/1.303, allocations: 3.085 MB / 0.8685 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.303, allocations: 4.703 kB / 0.8685 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/1.304, allocations: 160.5 kB / 0.8687 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/1.304, allocations: 126.9 kB / 0.8688 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/1.304, allocations: 28.34 kB / 0.8688 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/1.309, allocations: 5.365 MB / 0.8741 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.309, allocations: 15.59 kB / 0.8741 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/1.312, allocations: 1.771 MB / 0.8758 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.313, allocations: 309.1 kB / 0.8761 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/1.313, allocations: 23.66 kB / 0.8761 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.315, allocations: 25.7 kB / 0.8762 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.315, allocations: 78.25 kB / 0.8762 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-05/1.315, allocations: 38.2 kB / 0.8763 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001501/1.316, allocations: 0.8443 MB / 0.8771 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/1.316, allocations: 1 kB / 0.8771 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002105/1.319, allocations: 409.4 kB / 0.8775 GB, free: 0.957 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 (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.003289/1.322, allocations: 2.458 MB / 0.8799 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002343/1.324, allocations: 1.456 MB / 0.8813 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.324, allocations: 0.9062 kB / 0.8813 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009108/1.325, allocations: 0.7901 MB / 0.8821 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004744/1.33, allocations: 0.8905 MB / 0.883 GB, free: 15.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/1.348, allocations: 12.16 MB / 0.8948 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.349, allocations: 1.357 MB / 0.8962 GB, free: 9.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001674/1.351, allocations: 348.5 kB / 0.8965 GB, free: 9.496 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/1.352, allocations: 0.5495 MB / 0.897 GB, free: 9.488 MB / 0.67 GB Notification: Performance of SimCode: time 1.032e-06/1.352, allocations: 0 / 0.897 GB, free: 9.488 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/1.446, allocations: 43.32 MB / 0.9393 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.51, allocations: 11.97 kB / 0.9394 GB, free: 0.5469 MB / 0.7012 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)