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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 110.1 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8284/0.8284, allocations: 134 MB / 442.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 66.69 kB / 0.6134 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1924, allocations: 85.84 MB / 0.6973 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6532/0.8456, allocations: 218.4 MB / 0.9105 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02903/0.8746, allocations: 21.44 MB / 0.9315 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.8767, allocations: 79.38 kB / 0.9316 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.8794, allocations: 0.7648 MB / 0.9323 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.8911, allocations: 4.396 MB / 0.9366 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.8942, allocations: 1.071 MB / 0.9376 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006351/0.9005, allocations: 3.926 MB / 0.9415 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.9029, allocations: 1.324 MB / 0.9428 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.9064, allocations: 1.705 MB / 0.9444 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.9097, allocations: 1.66 MB / 0.9461 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003365/0.9101, allocations: 160 kB / 0.9462 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.9141, allocations: 1.941 MB / 0.9481 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008836/0.915, allocations: 0.7595 MB / 0.9488 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.9164, allocations: 0.9566 MB / 0.9498 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005274/0.9216, allocations: 2.947 MB / 0.9527 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9216, allocations: 0 / 0.9527 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9216, allocations: 0 / 0.9527 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.9217, allocations: 0 / 0.9527 GB, free: 2.637 MB / 0.7169 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.003638/0.9253, allocations: 2.101 MB / 0.9547 GB, free: 488 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.9254, allocations: 9.109 kB / 0.9547 GB, free: 480 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/0.9256, allocations: 198.1 kB / 0.9549 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.9279, allocations: 398.6 kB / 0.9553 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.93, allocations: 1.176 MB / 0.9564 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.9301, allocations: 102.5 kB / 0.9565 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.9303, allocations: 132 kB / 0.9567 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.9329, allocations: 1.587 MB / 0.9582 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.933, allocations: 7.922 kB / 0.9582 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.9331, allocations: 55.98 kB / 0.9583 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-05/0.9332, allocations: 50.45 kB / 0.9583 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.9353, allocations: 1.294 MB / 0.9596 GB, free: 11.34 MB / 0.7325 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.008614/0.9439, allocations: 6.486 MB / 0.9659 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.9454, allocations: 0.8998 MB / 0.9668 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.946, allocations: 454.5 kB / 0.9672 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.9468, allocations: 413 kB / 0.9676 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.9468, allocations: 43.22 kB / 0.9677 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.9469, allocations: 0 / 0.9677 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.005983/0.9528, allocations: 2.951 MB / 0.9705 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.9529, allocations: 60.41 kB / 0.9706 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.9547, allocations: 1.205 MB / 0.9718 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/0.9548, allocations: 45.7 kB / 0.9718 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006018/0.9554, allocations: 0.6969 MB / 0.9725 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.9557, allocations: 305.3 kB / 0.9728 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.9561, allocations: 198.6 kB / 0.973 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9562, allocations: 345.7 kB / 0.9733 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.9568, allocations: 373.8 kB / 0.9737 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009704/0.9578, allocations: 0.7325 MB / 0.9744 GB, free: 11.34 MB / 0.7481 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.01226/0.97, allocations: 2.918 MB / 0.9772 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.9701, allocations: 4 kB / 0.9772 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002569/0.9726, allocations: 1.302 MB / 0.9785 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.9727, allocations: 8 kB / 0.9785 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.9727, allocations: 8 kB / 0.9785 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.973, allocations: 138.4 kB / 0.9787 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.9739, allocations: 199.7 kB / 0.9788 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.9796, allocations: 5.371 MB / 0.9841 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.9814, allocations: 63.88 kB / 0.9842 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.9816, allocations: 47.98 kB / 0.9842 GB, free: 0.7227 MB / 0.7481 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.001078/0.9827, allocations: 426 kB / 0.9846 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.983, allocations: 151.1 kB / 0.9848 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.9851, allocations: 1.094 MB / 0.9858 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.9851, allocations: 8 kB / 0.9858 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.9851, allocations: 0 / 0.9858 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/0.9865, allocations: 1.047 MB / 0.9868 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005541/0.9921, allocations: 3.082 MB / 0.9899 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.9921, allocations: 8.094 kB / 0.9899 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/0.9929, allocations: 159.8 kB / 0.99 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.9931, allocations: 126.4 kB / 0.9901 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.9932, allocations: 31.98 kB / 0.9902 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.9982, allocations: 5.357 MB / 0.9954 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.9982, allocations: 11.94 kB / 0.9954 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.001, allocations: 1.778 MB / 0.9971 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.002, allocations: 320.1 kB / 0.9975 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/1.002, allocations: 27.98 kB / 0.9975 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/1.003, allocations: 30.06 kB / 0.9975 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.003, allocations: 76.34 kB / 0.9976 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.003, allocations: 28 kB / 0.9976 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00122/1.004, allocations: 0.85 MB / 0.9984 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 0 / 0.9984 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0015/1.006, allocations: 411.9 kB / 0.9988 GB, free: 0.9023 MB / 0.7637 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.003201/1.009, allocations: 2.455 MB / 1.001 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002082/1.011, allocations: 1.253 MB / 1.002 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.011, allocations: 0 / 1.002 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009851/1.012, allocations: 0.7744 MB / 1.003 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.016, allocations: 0.8969 MB / 1.004 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.032, allocations: 11.28 MB / 1.015 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.034, allocations: 1.355 MB / 1.016 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001411/1.035, allocations: 356.6 kB / 1.017 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/1.036, allocations: 0.5423 MB / 1.017 GB, free: 13.31 MB / 0.795 GB Notification: Performance of SimCode: time 1.022e-06/1.036, allocations: 0 / 1.017 GB, free: 13.31 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09638/1.132, allocations: 43.88 MB / 1.06 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.58, allocations: 2.812 kB / 1.06 GB, free: 1.934 MB / 0.8262 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.615992602994083] Failed to read output from testmodel.py, exit status != 0: 15.717797215998871 16.084936996 15.159436888 Calling exit ...