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.001333/0.001333, allocations: 112.5 kB / 15.73 MB, free: 76 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.001314/0.001314, allocations: 191.2 kB / 16.67 MB, free: 6.539 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 72.77 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1726, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.623/0.7956, allocations: 214.6 MB / 0.8688 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.8155, allocations: 21.32 MB / 0.8896 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.8176, allocations: 53.06 kB / 0.8897 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.8195, allocations: 0.7354 MB / 0.8904 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.8289, allocations: 4.242 MB / 0.8945 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.8315, allocations: 1.07 MB / 0.8956 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004572/0.8361, allocations: 3.906 MB / 0.8994 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.8381, allocations: 1.577 MB / 0.9009 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.8414, allocations: 1.633 MB / 0.9025 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.8447, allocations: 1.536 MB / 0.904 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.845, allocations: 162.2 kB / 0.9042 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/0.8492, allocations: 1.824 MB / 0.906 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.8503, allocations: 0.7369 MB / 0.9067 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.8521, allocations: 0.9617 MB / 0.9076 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00524/0.8573, allocations: 2.951 MB / 0.9105 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8573, allocations: 4 kB / 0.9105 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8574, allocations: 0 / 0.9105 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.8574, allocations: 0 / 0.9105 GB, free: 11.88 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.003374/0.8608, allocations: 2.095 MB / 0.9125 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8608, allocations: 8.656 kB / 0.9126 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.8611, allocations: 197.8 kB / 0.9127 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.8632, allocations: 413.5 kB / 0.9131 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.8652, allocations: 1.161 MB / 0.9143 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.794e-05/0.8654, allocations: 101.5 kB / 0.9144 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.8656, allocations: 132 kB / 0.9145 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.868, allocations: 1.587 MB / 0.916 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.8681, allocations: 6.625 kB / 0.916 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.8682, allocations: 53.16 kB / 0.9161 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/0.8682, allocations: 50.17 kB / 0.9161 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.8702, allocations: 1.299 MB / 0.9174 GB, free: 7.469 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.008039/0.8782, allocations: 6.492 MB / 0.9238 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.8797, allocations: 0.9401 MB / 0.9247 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.8804, allocations: 482.5 kB / 0.9251 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007657/0.8812, allocations: 410.5 kB / 0.9255 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.8812, allocations: 47.2 kB / 0.9256 GB, free: 15.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.8812, allocations: 0 / 0.9256 GB, free: 15.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005681/0.8869, allocations: 2.964 MB / 0.9285 GB, free: 12.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.887, allocations: 64.34 kB / 0.9285 GB, free: 12.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.8887, allocations: 1.204 MB / 0.9297 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.505e-05/0.8887, allocations: 41.7 kB / 0.9297 GB, free: 11.24 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.8894, allocations: 0.6873 MB / 0.9304 GB, free: 10.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.8897, allocations: 314.1 kB / 0.9307 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.89, allocations: 194.6 kB / 0.9309 GB, free: 10.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.8902, allocations: 349.9 kB / 0.9312 GB, free: 9.703 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.8908, allocations: 377.8 kB / 0.9316 GB, free: 9.332 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/0.8918, allocations: 0.7278 MB / 0.9323 GB, free: 8.461 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.01153/0.9033, allocations: 2.92 MB / 0.9352 GB, free: 5.449 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9033, allocations: 4 kB / 0.9352 GB, free: 5.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002306/0.9056, allocations: 1.308 MB / 0.9364 GB, free: 4.172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.9057, allocations: 9.875 kB / 0.9364 GB, free: 4.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9057, allocations: 8 kB / 0.9365 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.906, allocations: 135.2 kB / 0.9366 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.9068, allocations: 207.2 kB / 0.9368 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005066/0.9119, allocations: 5.37 MB / 0.942 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9132, allocations: 47.92 kB / 0.9421 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.9133, allocations: 44.19 kB / 0.9421 GB, free: 13.98 MB / 0.6856 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.0007906/0.9141, allocations: 437.9 kB / 0.9425 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.9143, allocations: 155 kB / 0.9427 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.9162, allocations: 1.091 MB / 0.9437 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9162, allocations: 8 kB / 0.9437 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9162, allocations: 3.938 kB / 0.9438 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/0.9177, allocations: 1.061 MB / 0.9448 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/0.9231, allocations: 3.089 MB / 0.9478 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9232, allocations: 8 kB / 0.9478 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.9239, allocations: 155.6 kB / 0.948 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002985/0.9242, allocations: 129 kB / 0.9481 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.9243, allocations: 24.38 kB / 0.9481 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.9293, allocations: 5.37 MB / 0.9533 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9293, allocations: 6.531 kB / 0.9534 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.9322, allocations: 1.781 MB / 0.9551 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.9329, allocations: 320.1 kB / 0.9554 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.9331, allocations: 23.98 kB / 0.9554 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.9338, allocations: 27.94 kB / 0.9554 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.9339, allocations: 85.42 kB / 0.9555 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.934, allocations: 35.98 kB / 0.9556 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001274/0.9353, allocations: 0.8461 MB / 0.9564 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9353, allocations: 0 / 0.9564 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001517/0.9368, allocations: 403.9 kB / 0.9568 GB, free: 14.25 MB / 0.7012 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.003328/0.9402, allocations: 2.455 MB / 0.9592 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.9423, allocations: 1.288 MB / 0.9604 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9423, allocations: 10.62 kB / 0.9604 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.9433, allocations: 0.7872 MB / 0.9612 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/0.9473, allocations: 0.9041 MB / 0.9621 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.9641, allocations: 11.28 MB / 0.9731 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.9653, allocations: 1.359 MB / 0.9744 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001427/0.9667, allocations: 344.6 kB / 0.9748 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/0.9675, allocations: 0.55 MB / 0.9753 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.9675, allocations: 0 / 0.9753 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.09, allocations: 43.69 MB / 1.018 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.32, allocations: 7.922 kB / 1.018 GB, free: 15.76 MB / 0.7637 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)