Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.00126/0.00126, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001415/0.001415, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.734 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.8851/0.8851, allocations: 134 MB / 446.4 MB, free: 9.926 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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.002094/0.002094, allocations: 66.12 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1824, allocations: 85.9 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002435/0.1848, allocations: 1.299 MB / 0.7036 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5088/0.6936, allocations: 115.7 MB / 0.8167 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.6937, allocations: 0 / 0.8167 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.6937, allocations: 3.938 kB / 0.8167 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.6938, allocations: 6.734 kB / 0.8167 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.6942, allocations: 58.3 kB / 0.8167 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.6943, allocations: 22.55 kB / 0.8167 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.6943, allocations: 0 / 0.8167 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.6944, allocations: 19.83 kB / 0.8168 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.6944, allocations: 14.23 kB / 0.8168 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.6944, allocations: 3.219 kB / 0.8168 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.6945, allocations: 13.11 kB / 0.8168 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.6945, allocations: 3.594 kB / 0.8168 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.6946, allocations: 5.906 kB / 0.8168 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.6947, allocations: 25.19 kB / 0.8168 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6947, allocations: 3.984 kB / 0.8168 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6947, allocations: 0 / 0.8168 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6947, allocations: 3.312 kB / 0.8168 GB, free: 7.578 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004258/0.6951, allocations: 262.6 kB / 0.8171 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6952, allocations: 11.19 kB / 0.8171 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.6952, allocations: 35.72 kB / 0.8171 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.6952, allocations: 7.156 kB / 0.8171 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6954, allocations: 109.3 kB / 0.8172 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.6954, allocations: 55.12 kB / 0.8173 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.6954, allocations: 384 / 0.8173 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.6956, allocations: 43.19 kB / 0.8173 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.6956, allocations: 3.984 kB / 0.8173 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.6956, allocations: 2.281 kB / 0.8173 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.6956, allocations: 0 / 0.8173 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.6957, allocations: 12.44 kB / 0.8174 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.6958, allocations: 123.4 kB / 0.8175 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.696, allocations: 42.25 kB / 0.8175 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.696, allocations: 7.578 kB / 0.8175 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.6961, allocations: 18.7 kB / 0.8175 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.6962, allocations: 34.5 kB / 0.8176 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6962, allocations: 0 / 0.8176 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002365/0.6964, allocations: 64.02 kB / 0.8176 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.6965, allocations: 54.34 kB / 0.8177 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.6965, allocations: 96.73 kB / 0.8178 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6966, allocations: 25.7 kB / 0.8178 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.6966, allocations: 80.14 kB / 0.8179 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.6966, allocations: 18.09 kB / 0.8179 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.6967, allocations: 16.44 kB / 0.8179 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6968, allocations: 313.5 kB / 0.8182 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.6968, allocations: 10.86 kB / 0.8182 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.6969, allocations: 9.031 kB / 0.8182 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.697, allocations: 24 kB / 0.8183 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.697, allocations: 0 / 0.8183 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001264/0.6971, allocations: 50.75 kB / 0.8183 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6971, allocations: 9.469 kB / 0.8183 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6971, allocations: 0 / 0.8183 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6971, allocations: 0 / 0.8183 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.6972, allocations: 8.672 kB / 0.8183 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.6972, allocations: 6.594 kB / 0.8183 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.6972, allocations: 11.94 kB / 0.8183 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.6972, allocations: 2.656 kB / 0.8183 GB, free: 5.984 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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.0001271/0.6974, allocations: 105.8 kB / 0.8184 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.6974, allocations: 6.625 kB / 0.8184 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.6975, allocations: 62.61 kB / 0.8185 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6975, allocations: 0 / 0.8185 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6975, allocations: 0 / 0.8185 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6975, allocations: 0 / 0.8185 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.6977, allocations: 122.1 kB / 0.8186 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6977, allocations: 3.75 kB / 0.8186 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.6977, allocations: 9.906 kB / 0.8186 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6977, allocations: 3.938 kB / 0.8186 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.6977, allocations: 6.656 kB / 0.8186 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6977, allocations: 0 / 0.8186 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6977, allocations: 0 / 0.8186 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.6979, allocations: 81.05 kB / 0.8187 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.6979, allocations: 6.594 kB / 0.8187 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.6979, allocations: 0 / 0.8187 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.6979, allocations: 2.688 kB / 0.8187 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.698, allocations: 7.984 kB / 0.8187 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.698, allocations: 4 kB / 0.8187 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.698, allocations: 81.88 kB / 0.8188 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.698, allocations: 2.656 kB / 0.8188 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001897/0.6982, allocations: 8 kB / 0.8188 GB, free: 5.469 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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.0005001/0.6987, allocations: 0.6216 MB / 0.8194 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.6989, allocations: 18.14 kB / 0.8195 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6989, allocations: 6.938 kB / 0.8195 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.6989, allocations: 13.42 kB / 0.8195 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6991, allocations: 9 kB / 0.8195 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.6996, allocations: 154.1 kB / 0.8196 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.493e-05/0.6996, allocations: 64.8 kB / 0.8197 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.803e-05/0.6997, allocations: 10.66 kB / 0.8197 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.6997, allocations: 7.438 kB / 0.8197 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.6997, allocations: 2.188 kB / 0.8197 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.7298, allocations: 1.908 MB / 0.8216 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.89, allocations: 1.312 kB / 0.8216 GB, free: 3.352 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX_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_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.622258909977973] Failed to read output from testmodel.py, exit status != 0: 11.99726325692609 12.022255193 11.324247852 Calling exit ...