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.001341/0.001341, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001447/0.001447, allocations: 210.6 kB / 22.24 MB, free: 5.266 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.773 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.8193/0.8193, allocations: 134 MB / 446.4 MB, free: 9.938 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.00199/0.00199, allocations: 74.92 kB / 0.6185 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 85.91 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5891/0.7521, allocations: 190.2 MB / 0.8881 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.7799, allocations: 19.61 MB / 0.9073 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.782, allocations: 71.44 kB / 0.9074 GB, free: 1.078 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.7843, allocations: 0.7298 MB / 0.9081 GB, free: 352 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.7957, allocations: 4.357 MB / 0.9123 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.7989, allocations: 1.095 MB / 0.9134 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005863/0.8048, allocations: 3.988 MB / 0.9173 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.8069, allocations: 1.156 MB / 0.9184 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.8105, allocations: 1.724 MB / 0.9201 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.8142, allocations: 1.6 MB / 0.9217 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.8146, allocations: 167.9 kB / 0.9218 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.8182, allocations: 1.531 MB / 0.9233 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00095/0.8192, allocations: 0.7635 MB / 0.9241 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.8204, allocations: 0.8013 MB / 0.9248 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.825, allocations: 2.916 MB / 0.9277 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.825, allocations: 0 / 0.9277 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.893e-06/0.825, allocations: 0 / 0.9277 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.306e-05/0.825, allocations: 0 / 0.9277 GB, free: 12.17 MB / 0.7012 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.003534/0.8285, allocations: 2.022 MB / 0.9297 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.8286, allocations: 8.031 kB / 0.9297 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.8288, allocations: 194.1 kB / 0.9299 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.831, allocations: 406.6 kB / 0.9302 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.8334, allocations: 1.088 MB / 0.9313 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.8335, allocations: 106.5 kB / 0.9314 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.8337, allocations: 132 kB / 0.9315 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.8366, allocations: 1.795 MB / 0.9333 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.8366, allocations: 4 kB / 0.9333 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.8367, allocations: 55.98 kB / 0.9333 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/0.8368, allocations: 58.39 kB / 0.9334 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.8389, allocations: 1.29 MB / 0.9347 GB, free: 4.793 MB / 0.7012 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.008361/0.8473, allocations: 4.807 MB / 0.9394 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.8488, allocations: 0.8925 MB / 0.9402 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.8495, allocations: 452 kB / 0.9407 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/0.85, allocations: 108.5 kB / 0.9408 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.8501, allocations: 39.22 kB / 0.9408 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.8501, allocations: 0 / 0.9408 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84): time 0.005662/0.8557, allocations: 2.65 MB / 0.9434 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.8558, allocations: 60.41 kB / 0.9434 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.8575, allocations: 1.221 MB / 0.9446 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.984e-05/0.8576, allocations: 41.7 kB / 0.9447 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.8583, allocations: 0.6929 MB / 0.9454 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.8586, allocations: 313.3 kB / 0.9457 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.8589, allocations: 198.5 kB / 0.9458 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8591, allocations: 349.9 kB / 0.9462 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.8597, allocations: 374.7 kB / 0.9465 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.8609, allocations: 1.134 MB / 0.9476 GB, free: 7.02 MB / 0.7169 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.01149/0.8724, allocations: 2.836 MB / 0.9504 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.8724, allocations: 4 kB / 0.9504 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002289/0.8747, allocations: 1.3 MB / 0.9517 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8747, allocations: 8 kB / 0.9517 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.8747, allocations: 12.12 kB / 0.9517 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.875, allocations: 130.5 kB / 0.9518 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.8758, allocations: 215.3 kB / 0.952 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004876/0.8807, allocations: 5.04 MB / 0.957 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.8819, allocations: 51.94 kB / 0.957 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.882, allocations: 47.98 kB / 0.9571 GB, free: 12.91 MB / 0.7325 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.000783/0.8828, allocations: 417.9 kB / 0.9574 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.883, allocations: 159.1 kB / 0.9576 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.8849, allocations: 1.094 MB / 0.9587 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.8849, allocations: 8 kB / 0.9587 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.8849, allocations: 0 / 0.9587 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001554/0.8864, allocations: 1.047 MB / 0.9597 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.8917, allocations: 2.647 MB / 0.9623 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.8917, allocations: 12 kB / 0.9623 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.8925, allocations: 159.8 kB / 0.9624 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.8927, allocations: 127.2 kB / 0.9626 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.8928, allocations: 28 kB / 0.9626 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004955/0.8977, allocations: 5.044 MB / 0.9675 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.8977, allocations: 13.75 kB / 0.9675 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.9004, allocations: 1.77 MB / 0.9693 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008001/0.9012, allocations: 246.9 kB / 0.9695 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.9014, allocations: 23.98 kB / 0.9695 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.9022, allocations: 30.05 kB / 0.9696 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.9023, allocations: 84.2 kB / 0.9696 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.9024, allocations: 31.98 kB / 0.9697 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001267/0.9037, allocations: 0.85 MB / 0.9705 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9037, allocations: 0 / 0.9705 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001519/0.9052, allocations: 407.9 kB / 0.9709 GB, free: 14.07 MB / 0.7481 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.003399/0.9086, allocations: 2.44 MB / 0.9733 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.9106, allocations: 1.256 MB / 0.9745 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.9107, allocations: 0 / 0.9745 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009836/0.9116, allocations: 0.774 MB / 0.9752 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.9152, allocations: 0.8944 MB / 0.9761 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.9321, allocations: 11.28 MB / 0.9871 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/0.933, allocations: 0.7674 MB / 0.9879 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001398/0.9344, allocations: 348.7 kB / 0.9882 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/0.9352, allocations: 0.5539 MB / 0.9888 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/0.9352, allocations: 0 / 0.9888 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.05, allocations: 47.85 MB / 1.035 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.28, allocations: 6.562 kB / 1.035 GB, free: 12.04 MB / 0.8106 GB " [Timeout remaining time 645] (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: 18.915421890094876] Failed to read output from testmodel.py, exit status != 0: 15.419571557082236 15.436750669 14.608452270999999 Calling exit ...