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.001456/0.001456, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00163/0.00163, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.811/0.811, allocations: 134 MB / 447.2 MB, free: 10.39 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="cs",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.002026/0.002026, allocations: 63.5 kB / 0.6193 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1767, allocations: 85.91 MB / 0.7032 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5776/0.7543, allocations: 190 MB / 0.8887 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02876/0.783, allocations: 19.58 MB / 0.9079 GB, free: 1.402 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.7851, allocations: 67.44 kB / 0.9079 GB, free: 1.336 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.7878, allocations: 0.7375 MB / 0.9087 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.8004, allocations: 4.369 MB / 0.9129 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.8038, allocations: 1.108 MB / 0.914 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006277/0.81, allocations: 4.015 MB / 0.9179 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.8123, allocations: 1.168 MB / 0.9191 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.8162, allocations: 1.724 MB / 0.9207 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/0.8204, allocations: 1.656 MB / 0.9224 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004494/0.8208, allocations: 160 kB / 0.9225 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.8249, allocations: 1.554 MB / 0.924 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.826, allocations: 0.7634 MB / 0.9248 GB, free: 16 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.8277, allocations: 0.7976 MB / 0.9256 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.8327, allocations: 2.916 MB / 0.9284 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8327, allocations: 0 / 0.9284 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8327, allocations: 0 / 0.9284 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.22e-05/0.8327, allocations: 0 / 0.9284 GB, free: 12.29 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.003678/0.8364, allocations: 2.03 MB / 0.9304 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.8364, allocations: 12.03 kB / 0.9304 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.42e-05/0.8365, allocations: 30.56 kB / 0.9304 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/0.8367, allocations: 201.5 kB / 0.9306 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.839, allocations: 402.5 kB / 0.931 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.8411, allocations: 1.084 MB / 0.9321 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.8412, allocations: 106.5 kB / 0.9322 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.8414, allocations: 136 kB / 0.9323 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.8443, allocations: 1.795 MB / 0.934 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.8443, allocations: 0 / 0.934 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.8444, allocations: 52 kB / 0.9341 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.577e-05/0.8445, allocations: 54.44 kB / 0.9342 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.8467, allocations: 1.298 MB / 0.9354 GB, free: 4.871 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.007679/0.8544, allocations: 4.815 MB / 0.9401 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.856, allocations: 0.9003 MB / 0.941 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.8566, allocations: 438.6 kB / 0.9414 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/0.8572, allocations: 104.5 kB / 0.9415 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.8573, allocations: 43.22 kB / 0.9416 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.8573, allocations: 0 / 0.9416 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84): time 0.005328/0.8626, allocations: 2.655 MB / 0.9442 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.8627, allocations: 60.41 kB / 0.9442 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8643, allocations: 1.201 MB / 0.9454 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.323e-05/0.8644, allocations: 49.64 kB / 0.9454 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/0.865, allocations: 0.6852 MB / 0.9461 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.8652, allocations: 325.3 kB / 0.9464 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.8655, allocations: 190.6 kB / 0.9466 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.8657, allocations: 353.9 kB / 0.9469 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.8663, allocations: 373.8 kB / 0.9473 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.8675, allocations: 1.134 MB / 0.9484 GB, free: 7.105 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.01213/0.8796, allocations: 2.828 MB / 0.9512 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8796, allocations: 8 kB / 0.9512 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002336/0.882, allocations: 1.296 MB / 0.9524 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.882, allocations: 8 kB / 0.9524 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.882, allocations: 8 kB / 0.9524 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.8823, allocations: 135.2 kB / 0.9526 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.8831, allocations: 211.6 kB / 0.9528 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.8882, allocations: 5.044 MB / 0.9577 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.8895, allocations: 62.28 kB / 0.9578 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.8896, allocations: 44 kB / 0.9578 GB, free: 13 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.000852/0.8905, allocations: 431.5 kB / 0.9582 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.8907, allocations: 147.1 kB / 0.9584 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.8926, allocations: 1.097 MB / 0.9594 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.8926, allocations: 8.875 kB / 0.9594 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.8926, allocations: 4 kB / 0.9594 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/0.8941, allocations: 1.051 MB / 0.9605 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/0.8994, allocations: 2.643 MB / 0.963 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.8994, allocations: 8 kB / 0.9631 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.9002, allocations: 159.8 kB / 0.9632 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/0.9005, allocations: 126.5 kB / 0.9633 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.9005, allocations: 28 kB / 0.9633 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.9055, allocations: 5.032 MB / 0.9683 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.9055, allocations: 11.98 kB / 0.9683 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.9083, allocations: 1.774 MB / 0.97 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000713/0.909, allocations: 251 kB / 0.9702 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.9091, allocations: 20.12 kB / 0.9703 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.9099, allocations: 27.98 kB / 0.9703 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.9101, allocations: 88.19 kB / 0.9704 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.9101, allocations: 28 kB / 0.9704 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001272/0.9114, allocations: 0.8461 MB / 0.9712 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9114, allocations: 0 / 0.9712 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001574/0.913, allocations: 411.9 kB / 0.9716 GB, free: 14.16 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.003558/0.9166, allocations: 2.442 MB / 0.974 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.9189, allocations: 1.272 MB / 0.9753 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9189, allocations: 3.938 kB / 0.9753 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9199, allocations: 0.7663 MB / 0.976 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.9237, allocations: 0.8867 MB / 0.9769 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.9412, allocations: 11.28 MB / 0.9879 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.9421, allocations: 0.7713 MB / 0.9886 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001382/0.9435, allocations: 352.6 kB / 0.989 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/0.9443, allocations: 0.5423 MB / 0.9895 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of SimCode: time 1.443e-06/0.9443, allocations: 0 / 0.9895 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09853/1.043, allocations: 47.49 MB / 1.036 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.63, allocations: 0 / 1.036 GB, free: 12.53 MB / 0.8106 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 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: 20.308525434928015] Failed to read output from testmodel.py, exit status != 0: 16.82765452202875 16.852645567 16.015228469 Calling exit ...