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.001492/0.001492, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001694/0.001694, allocations: 213 kB / 22.25 MB, free: 4.855 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: 7.793 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.9465/0.9465, 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.002193/0.002193, allocations: 74.53 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1693, allocations: 85.91 MB / 0.7024 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002423/0.1717, allocations: 1.288 MB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5233/0.695, allocations: 115.7 MB / 0.8167 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.695, allocations: 0 / 0.8167 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.695, allocations: 2.562 kB / 0.8167 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.6951, allocations: 9.422 kB / 0.8167 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.6955, allocations: 62.09 kB / 0.8167 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.6956, allocations: 18.36 kB / 0.8168 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.6957, allocations: 3 kB / 0.8168 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.6957, allocations: 9.25 kB / 0.8168 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.6958, allocations: 10.78 kB / 0.8168 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.6958, allocations: 4 kB / 0.8168 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.6959, allocations: 22.11 kB / 0.8168 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.6959, allocations: 4 kB / 0.8168 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.6959, allocations: 6.906 kB / 0.8168 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.696, allocations: 25.14 kB / 0.8168 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.696, allocations: 0 / 0.8168 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.696, allocations: 0 / 0.8168 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.696, allocations: 0 / 0.8168 GB, free: 7.586 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.0004311/0.6965, allocations: 255.6 kB / 0.8171 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6965, allocations: 10.19 kB / 0.8171 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.6966, allocations: 43.95 kB / 0.8171 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.6966, allocations: 7.844 kB / 0.8171 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.6967, allocations: 113.1 kB / 0.8173 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/0.6968, allocations: 54.69 kB / 0.8173 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.6968, allocations: 384 / 0.8173 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.697, allocations: 46.03 kB / 0.8173 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.697, allocations: 0 / 0.8173 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.697, allocations: 0 / 0.8173 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.697, allocations: 0 / 0.8173 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.6971, allocations: 15.58 kB / 0.8174 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.6972, allocations: 130.6 kB / 0.8175 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.6973, allocations: 26.11 kB / 0.8175 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.6974, allocations: 18.75 kB / 0.8175 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.6975, allocations: 15.55 kB / 0.8175 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.6975, allocations: 37.44 kB / 0.8176 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 3.115e-06/0.6975, allocations: 3.984 kB / 0.8176 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002262/0.6978, allocations: 57.83 kB / 0.8176 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6978, allocations: 53.72 kB / 0.8177 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.6979, allocations: 100.3 kB / 0.8178 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6979, allocations: 25.7 kB / 0.8178 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.6979, allocations: 83.11 kB / 0.8179 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.698, allocations: 7.906 kB / 0.8179 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.698, allocations: 20.48 kB / 0.8179 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6981, allocations: 313.5 kB / 0.8182 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.6982, allocations: 2.531 kB / 0.8182 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.6982, allocations: 13.45 kB / 0.8182 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.6983, allocations: 27.09 kB / 0.8183 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6983, allocations: 0 / 0.8183 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001136/0.6984, allocations: 46.84 kB / 0.8183 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6984, allocations: 10.16 kB / 0.8183 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6984, allocations: 0 / 0.8183 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6984, allocations: 0 / 0.8183 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.6985, allocations: 9.125 kB / 0.8183 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6985, allocations: 1.969 kB / 0.8183 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.6985, allocations: 8.797 kB / 0.8183 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.6985, allocations: 7.344 kB / 0.8183 GB, free: 5.996 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 7.856e-05/0.6986, allocations: 107.8 kB / 0.8184 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.6986, allocations: 10.78 kB / 0.8184 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.6988, allocations: 58.58 kB / 0.8185 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6988, allocations: 0 / 0.8185 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6988, allocations: 0 / 0.8185 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6988, allocations: 0 / 0.8185 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.6989, allocations: 125.9 kB / 0.8186 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6989, allocations: 2.125 kB / 0.8186 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.699, allocations: 8.938 kB / 0.8186 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.699, allocations: 7.938 kB / 0.8186 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.699, allocations: 3.125 kB / 0.8186 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.699, allocations: 0 / 0.8186 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.699, allocations: 0 / 0.8186 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.6991, allocations: 77.53 kB / 0.8187 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.6992, allocations: 10.66 kB / 0.8187 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.6992, allocations: 0 / 0.8187 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.6992, allocations: 0 / 0.8187 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.6992, allocations: 6.234 kB / 0.8187 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6992, allocations: 2.641 kB / 0.8187 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.6993, allocations: 90.23 kB / 0.8188 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6993, allocations: 0 / 0.8188 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001856/0.6994, allocations: 11.53 kB / 0.8188 GB, free: 5.473 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.0004798/0.6999, allocations: 0.6217 MB / 0.8194 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.7001, allocations: 18.61 kB / 0.8195 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7001, allocations: 2.75 kB / 0.8195 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.7001, allocations: 9.469 kB / 0.8195 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.7004, allocations: 18.58 kB / 0.8195 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.7008, allocations: 154.2 kB / 0.8196 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.668e-05/0.7008, allocations: 64.23 kB / 0.8197 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.7009, allocations: 6.938 kB / 0.8197 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.7009, allocations: 10.38 kB / 0.8197 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.7009, allocations: 0 / 0.8197 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.7275, allocations: 1.894 MB / 0.8216 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.67, allocations: 12.45 kB / 0.8216 GB, free: 3.363 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.3752376800403] Failed to read output from testmodel.py, exit status != 0: 11.779655065853149 11.804512774 11.103831169 Calling exit ...