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.001337/0.001337, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001452/0.001452, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8654/0.8654, allocations: 133.9 MB / 443.5 MB, free: 13.8 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.00194/0.00194, allocations: 69.05 kB / 0.6141 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1536, allocations: 85.85 MB / 0.698 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6818/0.8354, allocations: 218.4 MB / 0.9112 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02306/0.8585, allocations: 21.46 MB / 0.9322 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.8616, allocations: 67.47 kB / 0.9322 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.8641, allocations: 0.7658 MB / 0.933 GB, free: 1.223 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.8756, allocations: 4.402 MB / 0.9373 GB, free: 1.043 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.8789, allocations: 1.064 MB / 0.9383 GB, free: 1.027 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006179/0.885, allocations: 3.922 MB / 0.9422 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.8873, allocations: 1.329 MB / 0.9434 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.8913, allocations: 1.699 MB / 0.9451 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.8952, allocations: 1.66 MB / 0.9467 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004332/0.8957, allocations: 164.1 kB / 0.9469 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.9004, allocations: 1.94 MB / 0.9488 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.9012, allocations: 0.7556 MB / 0.9495 GB, free: 432 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.9025, allocations: 0.957 MB / 0.9505 GB, free: 176 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.9076, allocations: 2.952 MB / 0.9533 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9076, allocations: 0.9375 kB / 0.9533 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9076, allocations: 0 / 0.9533 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.227e-05/0.9076, allocations: 0.75 kB / 0.9533 GB, free: 15.61 MB / 0.6856 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.003765/0.9114, allocations: 2.099 MB / 0.9554 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.9114, allocations: 9.641 kB / 0.9554 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.023e-05/0.9115, allocations: 37.53 kB / 0.9554 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/0.9117, allocations: 200.3 kB / 0.9556 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.914, allocations: 404.8 kB / 0.956 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.9163, allocations: 1.161 MB / 0.9571 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.9164, allocations: 107 kB / 0.9572 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.9166, allocations: 135.2 kB / 0.9574 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.9193, allocations: 1.59 MB / 0.9589 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.9193, allocations: 2.906 kB / 0.9589 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.9195, allocations: 57.28 kB / 0.959 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.9195, allocations: 49.28 kB / 0.959 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.9215, allocations: 1.293 MB / 0.9603 GB, free: 11.21 MB / 0.6856 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.008428/0.9299, allocations: 6.49 MB / 0.9666 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.9313, allocations: 0.8962 MB / 0.9675 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.9319, allocations: 456.9 kB / 0.9679 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.9327, allocations: 412.5 kB / 0.9683 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.9327, allocations: 46.84 kB / 0.9684 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.9327, allocations: 0 / 0.9684 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.005437/0.9381, allocations: 2.957 MB / 0.9713 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.9382, allocations: 64.41 kB / 0.9713 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.9399, allocations: 1.201 MB / 0.9725 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/0.9399, allocations: 45.7 kB / 0.9725 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006118/0.9405, allocations: 0.6905 MB / 0.9732 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.9409, allocations: 310.4 kB / 0.9735 GB, free: 260 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.9412, allocations: 198.6 kB / 0.9737 GB, free: 56 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.9414, allocations: 349.9 kB / 0.974 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.9419, allocations: 365.8 kB / 0.9744 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/0.9429, allocations: 0.7375 MB / 0.9751 GB, free: 14.46 MB / 0.7012 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.01216/0.9551, allocations: 2.903 MB / 0.9779 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.9551, allocations: 4 kB / 0.9779 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002594/0.9577, allocations: 1.3 MB / 0.9792 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.9577, allocations: 8 kB / 0.9792 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.9577, allocations: 8 kB / 0.9792 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.958, allocations: 139.1 kB / 0.9794 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.9589, allocations: 216.2 kB / 0.9796 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005025/0.9639, allocations: 5.373 MB / 0.9848 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.9653, allocations: 47.92 kB / 0.9849 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.9654, allocations: 44 kB / 0.9849 GB, free: 3.988 MB / 0.7012 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.00084/0.9662, allocations: 437.5 kB / 0.9853 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.9665, allocations: 147.1 kB / 0.9855 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.9684, allocations: 1.091 MB / 0.9865 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.9684, allocations: 11.94 kB / 0.9865 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.9684, allocations: 0 / 0.9865 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/0.9699, allocations: 1.049 MB / 0.9876 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006267/0.9762, allocations: 3.093 MB / 0.9906 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9762, allocations: 8 kB / 0.9906 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.977, allocations: 159.5 kB / 0.9907 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.9773, allocations: 129.1 kB / 0.9909 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/0.9774, allocations: 23.98 kB / 0.9909 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005102/0.9825, allocations: 5.359 MB / 0.9961 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.9825, allocations: 6.531 kB / 0.9961 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.9854, allocations: 1.773 MB / 0.9979 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/0.9862, allocations: 332.2 kB / 0.9982 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.9863, allocations: 24 kB / 0.9982 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/0.9871, allocations: 28.66 kB / 0.9982 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.9873, allocations: 77.48 kB / 0.9983 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.9874, allocations: 39.98 kB / 0.9983 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001272/0.9886, allocations: 0.8421 MB / 0.9992 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9886, allocations: 0 / 0.9992 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001586/0.9902, allocations: 407.9 kB / 0.9996 GB, free: 4.277 MB / 0.7169 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.003314/0.9935, allocations: 2.436 MB / 1.002 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.9957, allocations: 1.267 MB / 1.003 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.9957, allocations: 1.188 kB / 1.003 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.9967, allocations: 0.7747 MB / 1.004 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/1.001, allocations: 0.8918 MB / 1.005 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.018, allocations: 11.28 MB / 1.016 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.019, allocations: 1.347 MB / 1.017 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001305/1.02, allocations: 356.6 kB / 1.017 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/1.021, allocations: 0.554 MB / 1.018 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/1.021, allocations: 0 / 1.018 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09481/1.116, allocations: 43.91 MB / 1.061 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.78, allocations: 11.92 kB / 1.061 GB, free: 5.613 MB / 0.7794 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 & /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: 19.704802085005213] Failed to read output from testmodel.py, exit status != 0: 16.234503457963 15.977991949 15.066072066 Calling exit ...