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.001398/0.001398, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001744/0.001744, allocations: 216.5 kB / 22.25 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8 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.829/0.829, allocations: 134 MB / 446.4 MB, free: 10.2 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.002/0.002, allocations: 66.38 kB / 0.6185 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1721, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002944/0.175, allocations: 1.663 MB / 0.7041 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.571/0.746, allocations: 154.9 MB / 0.8554 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.7461, allocations: 0 / 0.8554 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.7463, allocations: 23.8 kB / 0.8554 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.7465, allocations: 39.72 kB / 0.8554 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.7469, allocations: 151.4 kB / 0.8556 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.7471, allocations: 123.6 kB / 0.8557 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.7472, allocations: 21.58 kB / 0.8557 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.7486, allocations: 184.8 kB / 0.8559 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.7487, allocations: 51.78 kB / 0.8559 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.7487, allocations: 4 kB / 0.8559 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.7491, allocations: 191.6 kB / 0.8561 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.7491, allocations: 23.91 kB / 0.8561 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.7492, allocations: 43.75 kB / 0.8562 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.7495, allocations: 199.3 kB / 0.8564 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7495, allocations: 0 / 0.8564 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7495, allocations: 0 / 0.8564 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7495, allocations: 0 / 0.8564 GB, free: 9.078 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.0006259/0.7501, allocations: 373.5 kB / 0.8567 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7502, allocations: 12.03 kB / 0.8567 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.7502, allocations: 38.92 kB / 0.8568 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009722/0.7512, allocations: 87.8 kB / 0.8569 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.7514, allocations: 155 kB / 0.857 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.7514, allocations: 8 kB / 0.857 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.7515, allocations: 4 kB / 0.857 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.7519, allocations: 141.5 kB / 0.8571 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7519, allocations: 0 / 0.8571 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.7519, allocations: 0 / 0.8571 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.7519, allocations: 7.938 kB / 0.8572 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.7525, allocations: 143.8 kB / 0.8573 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.7532, allocations: 376.1 kB / 0.8576 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.7539, allocations: 174.5 kB / 0.8578 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.7542, allocations: 73.42 kB / 0.8579 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.7542, allocations: 0 / 0.8579 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7542, allocations: 38.56 kB / 0.8579 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.7542, allocations: 0 / 0.8579 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0007723/0.755, allocations: 218.9 kB / 0.8581 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.755, allocations: 51.41 kB / 0.8582 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.7551, allocations: 153.7 kB / 0.8583 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.7552, allocations: 25.7 kB / 0.8583 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.7552, allocations: 108.2 kB / 0.8585 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.7553, allocations: 35.72 kB / 0.8585 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.7553, allocations: 21.7 kB / 0.8585 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7555, allocations: 326.8 kB / 0.8588 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.7557, allocations: 51.95 kB / 0.8589 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.7559, allocations: 78.52 kB / 0.8589 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.7563, allocations: 119 kB / 0.8591 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7563, allocations: 4.031 kB / 0.8591 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004856/0.7568, allocations: 157.5 kB / 0.8592 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7568, allocations: 4 kB / 0.8592 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7568, allocations: 4 kB / 0.8592 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7568, allocations: 0 / 0.8592 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.757, allocations: 27.97 kB / 0.8592 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.757, allocations: 7.984 kB / 0.8593 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.7572, allocations: 15.94 kB / 0.8593 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.7572, allocations: 3.938 kB / 0.8593 GB, free: 5.898 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.000103/0.7573, allocations: 129.8 kB / 0.8594 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.7573, allocations: 8.828 kB / 0.8594 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.7574, allocations: 16.72 kB / 0.8594 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7574, allocations: 0 / 0.8594 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7574, allocations: 0 / 0.8594 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7574, allocations: 0 / 0.8594 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.7582, allocations: 442.9 kB / 0.8598 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7582, allocations: 0 / 0.8598 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.7584, allocations: 31.97 kB / 0.8599 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.7584, allocations: 3.984 kB / 0.8599 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.7584, allocations: 3.984 kB / 0.8599 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.7584, allocations: 7.938 kB / 0.8599 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7584, allocations: 0 / 0.8599 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.759, allocations: 263.3 kB / 0.8601 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.759, allocations: 11.89 kB / 0.8602 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.759, allocations: 0 / 0.8602 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.7592, allocations: 23.92 kB / 0.8602 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.7592, allocations: 7.984 kB / 0.8602 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.7592, allocations: 0 / 0.8602 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.244e-05/0.7593, allocations: 115.2 kB / 0.8603 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7593, allocations: 0 / 0.8603 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002596/0.7596, allocations: 31.89 kB / 0.8603 GB, free: 4.75 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.0009003/0.7605, allocations: 0.795 MB / 0.8611 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.761, allocations: 128 kB / 0.8612 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.761, allocations: 0 / 0.8612 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.7612, allocations: 68.02 kB / 0.8613 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.7615, allocations: 35.92 kB / 0.8613 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.7643, allocations: 1.736 MB / 0.863 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.7647, allocations: 0.7088 MB / 0.8637 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.7648, allocations: 24.41 kB / 0.8637 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.7649, allocations: 35.42 kB / 0.8638 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.7649, allocations: 0 / 0.8638 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.7956, allocations: 3.504 MB / 0.8672 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.77, allocations: 17.58 kB / 0.8672 GB, free: 13.73 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.46754148099717] Failed to read output from testmodel.py, exit status != 0: 11.891862886004674 11.915349199 11.160377146 Calling exit ...