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.00136/0.00136, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001622/0.001622, allocations: 213.4 kB / 22.25 MB, free: 5.129 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.969 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.8304/0.8304, allocations: 134 MB / 446.4 MB, free: 10.69 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.002113/0.002113, allocations: 66 kB / 0.6186 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1804, allocations: 85.91 MB / 0.7025 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6118/0.7922, allocations: 218.9 MB / 0.9162 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03085/0.823, allocations: 21.58 MB / 0.9373 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.8255, allocations: 75.38 kB / 0.9374 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.8283, allocations: 0.7765 MB / 0.9381 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.8402, allocations: 4.478 MB / 0.9425 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.8434, allocations: 1.131 MB / 0.9436 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006253/0.8496, allocations: 4.02 MB / 0.9475 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.8521, allocations: 1.164 MB / 0.9487 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.8558, allocations: 1.713 MB / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.8597, allocations: 1.662 MB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.8603, allocations: 164 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.8649, allocations: 1.964 MB / 0.9541 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.8661, allocations: 0.7635 MB / 0.9548 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.8682, allocations: 0.9604 MB / 0.9557 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005501/0.8737, allocations: 2.943 MB / 0.9586 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.8737, allocations: 0 / 0.9586 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8737, allocations: 4 kB / 0.9586 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001175/0.8738, allocations: 0 / 0.9586 GB, free: 15.99 MB / 0.7325 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.004965/0.8788, allocations: 2.026 MB / 0.9606 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8789, allocations: 8.031 kB / 0.9606 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004163/0.8793, allocations: 194.1 kB / 0.9608 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.8818, allocations: 406.5 kB / 0.9612 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.8846, allocations: 1.084 MB / 0.9622 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.8847, allocations: 102.5 kB / 0.9623 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.885, allocations: 140 kB / 0.9625 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.8879, allocations: 1.586 MB / 0.964 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.8879, allocations: 4 kB / 0.964 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.8881, allocations: 59.98 kB / 0.9641 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.8881, allocations: 50.44 kB / 0.9641 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.8904, allocations: 1.294 MB / 0.9654 GB, free: 8.867 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.01001/0.9004, allocations: 6.402 MB / 0.9716 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.902, allocations: 0.8996 MB / 0.9725 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.9028, allocations: 450.5 kB / 0.9729 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.9034, allocations: 100.5 kB / 0.973 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.9035, allocations: 47.2 kB / 0.9731 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.657e-06/0.9035, allocations: 4 kB / 0.9731 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.00594/0.9094, allocations: 2.65 MB / 0.9757 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.9095, allocations: 68.34 kB / 0.9757 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.9115, allocations: 1.201 MB / 0.9769 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.9116, allocations: 45.7 kB / 0.977 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006689/0.9123, allocations: 0.6929 MB / 0.9776 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.9127, allocations: 317.2 kB / 0.9779 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.913, allocations: 198.6 kB / 0.9781 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.9132, allocations: 345.9 kB / 0.9785 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.9138, allocations: 373.8 kB / 0.9788 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.9148, allocations: 0.7285 MB / 0.9795 GB, free: 9.711 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.01254/0.9274, allocations: 2.829 MB / 0.9823 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.9274, allocations: 4 kB / 0.9823 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002612/0.93, allocations: 1.296 MB / 0.9836 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.93, allocations: 8 kB / 0.9836 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.93, allocations: 8 kB / 0.9836 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.9304, allocations: 135.2 kB / 0.9837 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.9312, allocations: 215.6 kB / 0.9839 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005073/0.9363, allocations: 5.072 MB / 0.9889 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.9375, allocations: 47.94 kB / 0.9889 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.9377, allocations: 47.98 kB / 0.989 GB, free: 15.59 MB / 0.7637 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.000824/0.9385, allocations: 422.4 kB / 0.9894 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.9388, allocations: 143.2 kB / 0.9895 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.9408, allocations: 1.109 MB / 0.9906 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.9408, allocations: 8 kB / 0.9906 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.9408, allocations: 0 / 0.9906 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.9423, allocations: 1.047 MB / 0.9916 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.9482, allocations: 2.826 MB / 0.9944 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.9482, allocations: 4 kB / 0.9944 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.9489, allocations: 155.8 kB / 0.9945 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.9492, allocations: 130.4 kB / 0.9946 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.9493, allocations: 27.98 kB / 0.9947 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.9541, allocations: 5.06 MB / 0.9996 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9541, allocations: 4 kB / 0.9996 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.9569, allocations: 1.774 MB / 1.001 GB, free: 2.211 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008507/0.9577, allocations: 254.9 kB / 1.002 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.958, allocations: 24 kB / 1.002 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/0.9589, allocations: 31.92 kB / 1.002 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.9591, allocations: 84.19 kB / 1.002 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.9592, allocations: 32 kB / 1.002 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001412/0.9606, allocations: 0.8461 MB / 1.003 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.9606, allocations: 0 / 1.003 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001658/0.9622, allocations: 407.9 kB / 1.003 GB, free: 0.5469 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.003478/0.9657, allocations: 2.448 MB / 1.005 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.9679, allocations: 1.263 MB / 1.007 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.9679, allocations: 1.375 kB / 1.007 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.9689, allocations: 0.7684 MB / 1.007 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/0.9731, allocations: 0.8957 MB / 1.008 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.9923, allocations: 11.28 MB / 1.019 GB, free: 15.25 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.9937, allocations: 1.359 MB / 1.021 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001376/0.9951, allocations: 348.6 kB / 1.021 GB, free: 13.51 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009057/0.996, allocations: 0.5462 MB / 1.021 GB, free: 12.96 MB / 0.795 GB Notification: Performance of SimCode: time 1.142e-06/0.996, allocations: 0 / 1.021 GB, free: 12.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.108, allocations: 44.74 MB / 1.065 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.53, allocations: 8.672 kB / 1.065 GB, free: 0.7188 MB / 0.8262 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.526917926967144] Failed to read output from testmodel.py, exit status != 0: 17.014759346842766 17.03032585 16.153369513 Calling exit ...