Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001262/0.001262, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001359/0.001359, allocations: 218 kB / 23.04 MB, free: 5.074 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.8504/0.8504, allocations: 134 MB / 447.2 MB, free: 10.18 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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001986/0.001986, allocations: 60.31 kB / 0.6193 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1916, allocations: 85.91 MB / 0.7032 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002994/0.1946, allocations: 1.675 MB / 0.7048 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5432/0.7378, allocations: 154.9 MB / 0.8561 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.738, allocations: 4 kB / 0.8561 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.7381, allocations: 15.8 kB / 0.8561 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.7384, allocations: 47.7 kB / 0.8562 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.7388, allocations: 151.3 kB / 0.8563 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.7391, allocations: 119.6 kB / 0.8564 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.7392, allocations: 21.58 kB / 0.8565 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.7407, allocations: 171.5 kB / 0.8566 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.7408, allocations: 47.78 kB / 0.8567 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.7408, allocations: 4 kB / 0.8567 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.7412, allocations: 199.6 kB / 0.8569 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.7413, allocations: 27.91 kB / 0.8569 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.7414, allocations: 43.73 kB / 0.8569 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.7418, allocations: 195.3 kB / 0.8571 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7418, allocations: 0 / 0.8571 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7418, allocations: 0 / 0.8571 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.7418, allocations: 0 / 0.8571 GB, free: 9.07 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007371/0.7425, allocations: 377.5 kB / 0.8575 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7426, allocations: 8.031 kB / 0.8575 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.25e-05/0.7426, allocations: 384 / 0.8575 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.7426, allocations: 46.53 kB / 0.8575 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.7436, allocations: 83.8 kB / 0.8576 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.7439, allocations: 160.9 kB / 0.8578 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.7439, allocations: 4 kB / 0.8578 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.7439, allocations: 8 kB / 0.8578 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.7444, allocations: 133.6 kB / 0.8579 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7444, allocations: 3.938 kB / 0.8579 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.7444, allocations: 11.92 kB / 0.8579 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7444, allocations: 0 / 0.8579 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.745, allocations: 139.8 kB / 0.8581 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.7458, allocations: 384.1 kB / 0.8584 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.7465, allocations: 170.6 kB / 0.8586 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.7468, allocations: 72.8 kB / 0.8587 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.7468, allocations: 0 / 0.8587 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.7468, allocations: 31.44 kB / 0.8587 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.7468, allocations: 0 / 0.8587 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0008383/0.7476, allocations: 221.4 kB / 0.8589 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.7477, allocations: 55.41 kB / 0.859 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.7478, allocations: 145.5 kB / 0.8591 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.7479, allocations: 33.7 kB / 0.8591 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.7481, allocations: 104.2 kB / 0.8592 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.7482, allocations: 31.73 kB / 0.8593 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.7482, allocations: 25.7 kB / 0.8593 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7484, allocations: 326.8 kB / 0.8596 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.7486, allocations: 51.95 kB / 0.8596 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.7489, allocations: 76.08 kB / 0.8597 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.7493, allocations: 124.8 kB / 0.8598 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7493, allocations: 0 / 0.8598 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005171/0.7498, allocations: 153.5 kB / 0.86 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7499, allocations: 6.031 kB / 0.86 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7499, allocations: 3.25 kB / 0.86 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7499, allocations: 7.984 kB / 0.86 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.7501, allocations: 35.91 kB / 0.86 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.7501, allocations: 0.5469 kB / 0.86 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.7503, allocations: 19.94 kB / 0.86 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.7503, allocations: 3.938 kB / 0.8601 GB, free: 5.879 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.7504, allocations: 117.8 kB / 0.8602 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.7504, allocations: 11.95 kB / 0.8602 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.7505, allocations: 16.72 kB / 0.8602 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7505, allocations: 4 kB / 0.8602 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7505, allocations: 0 / 0.8602 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7505, allocations: 0 / 0.8602 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.7514, allocations: 445.3 kB / 0.8606 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7514, allocations: 0 / 0.8606 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.7516, allocations: 27.97 kB / 0.8606 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7516, allocations: 0 / 0.8606 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.7516, allocations: 3.984 kB / 0.8607 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7516, allocations: 3.938 kB / 0.8607 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.7516, allocations: 3.938 kB / 0.8607 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.7522, allocations: 263.3 kB / 0.8609 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.7522, allocations: 11.89 kB / 0.8609 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.7523, allocations: 0 / 0.8609 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.7524, allocations: 23.92 kB / 0.8609 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.7525, allocations: 7.984 kB / 0.861 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.7525, allocations: 7.984 kB / 0.861 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.293e-05/0.7526, allocations: 103.3 kB / 0.8611 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7526, allocations: 4 kB / 0.8611 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002736/0.7529, allocations: 31.89 kB / 0.8611 GB, free: 4.738 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009467/0.7538, allocations: 0.7982 MB / 0.8619 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005627/0.7544, allocations: 123.9 kB / 0.862 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7544, allocations: 0 / 0.862 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.7546, allocations: 71.86 kB / 0.8621 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.755, allocations: 34.58 kB / 0.8621 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.758, allocations: 1.748 MB / 0.8638 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.7585, allocations: 0.6932 MB / 0.8645 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.7587, allocations: 32.48 kB / 0.8645 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.7588, allocations: 39.36 kB / 0.8645 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of SimCode: time 6.22e-07/0.7588, allocations: 0 / 0.8645 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.7828, allocations: 3.541 MB / 0.868 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.1, allocations: 4.062 kB / 0.868 GB, free: 13.7 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.823524781037122] Failed to read output from testmodel.py, exit status != 0: 12.264805065002292 12.285600529 11.539607704 Calling exit ...