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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.885/0.885, allocations: 134 MB / 436.6 MB, free: 1.254 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 64.23 kB / 0.6051 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1592, allocations: 84.67 MB / 0.6878 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002857/0.162, allocations: 1.277 MB / 0.689 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5089/0.6709, allocations: 132.4 MB / 0.8183 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.671, allocations: 0 / 0.8183 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.671, allocations: 4.938 kB / 0.8184 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.671, allocations: 5.188 kB / 0.8184 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.6715, allocations: 68.56 kB / 0.8184 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.6716, allocations: 19.14 kB / 0.8184 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.6716, allocations: 4.562 kB / 0.8184 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.6716, allocations: 8.891 kB / 0.8185 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.6717, allocations: 9.422 kB / 0.8185 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6717, allocations: 0 / 0.8185 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.6718, allocations: 17.77 kB / 0.8185 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.6718, allocations: 1.375 kB / 0.8185 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.6718, allocations: 17.16 kB / 0.8185 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.6719, allocations: 25.27 kB / 0.8185 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6719, allocations: 1.344 kB / 0.8185 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6719, allocations: 0 / 0.8185 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6719, allocations: 3.938 kB / 0.8185 GB, free: 12.94 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.0004706/0.6724, allocations: 337.5 kB / 0.8189 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6724, allocations: 9.594 kB / 0.8189 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.6725, allocations: 30.75 kB / 0.8189 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.6725, allocations: 3.188 kB / 0.8189 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.6727, allocations: 169.2 kB / 0.8191 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.6728, allocations: 32.02 kB / 0.8191 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.6728, allocations: 1.781 kB / 0.8191 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.6729, allocations: 45.28 kB / 0.8191 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.6729, allocations: 0 / 0.8191 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.6729, allocations: 0 / 0.8191 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6729, allocations: 0 / 0.8191 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.673, allocations: 15.55 kB / 0.8191 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.6732, allocations: 155.6 kB / 0.8193 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.6733, allocations: 28.72 kB / 0.8193 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.6733, allocations: 14.8 kB / 0.8193 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.6735, allocations: 89.97 kB / 0.8194 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.6735, allocations: 35.94 kB / 0.8195 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6735, allocations: 11.88 kB / 0.8195 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002269/0.6737, allocations: 57.7 kB / 0.8195 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.6738, allocations: 51.41 kB / 0.8196 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.6739, allocations: 104.1 kB / 0.8197 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6739, allocations: 25.7 kB / 0.8197 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.6739, allocations: 81.64 kB / 0.8198 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.6739, allocations: 8.609 kB / 0.8198 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.674, allocations: 18.42 kB / 0.8198 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6741, allocations: 312.3 kB / 0.8201 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.6742, allocations: 10.22 kB / 0.8201 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.6742, allocations: 6.391 kB / 0.8201 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.6743, allocations: 24.77 kB / 0.8201 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6743, allocations: 0 / 0.8201 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.6744, allocations: 49.33 kB / 0.8202 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6744, allocations: 14.03 kB / 0.8202 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6744, allocations: 0 / 0.8202 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6744, allocations: 0 / 0.8202 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.6745, allocations: 12.61 kB / 0.8202 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6745, allocations: 0 / 0.8202 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.6745, allocations: 12.73 kB / 0.8202 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.6745, allocations: 1.188 kB / 0.8202 GB, free: 11.19 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 8.317e-05/0.6746, allocations: 107.1 kB / 0.8203 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.6746, allocations: 5.25 kB / 0.8203 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.6748, allocations: 65.86 kB / 0.8204 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6748, allocations: 4.562 kB / 0.8204 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6748, allocations: 0 / 0.8204 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6748, allocations: 1.062 kB / 0.8204 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.6749, allocations: 151.4 kB / 0.8205 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6749, allocations: 0 / 0.8205 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.675, allocations: 7.656 kB / 0.8205 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.675, allocations: 3.938 kB / 0.8205 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.675, allocations: 1.469 kB / 0.8206 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.675, allocations: 0 / 0.8206 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.675, allocations: 4 kB / 0.8206 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.6751, allocations: 78.25 kB / 0.8206 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.6752, allocations: 85.05 kB / 0.8207 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.6752, allocations: 1.406 kB / 0.8207 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.6753, allocations: 0 / 0.8207 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.6753, allocations: 5.203 kB / 0.8207 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.6753, allocations: 0 / 0.8207 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.6753, allocations: 85.64 kB / 0.8208 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6753, allocations: 1.25 kB / 0.8208 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001863/0.6755, allocations: 13.81 kB / 0.8208 GB, free: 10.58 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.0005332/0.676, allocations: 0.6396 MB / 0.8214 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.6762, allocations: 23.17 kB / 0.8215 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6762, allocations: 1.031 kB / 0.8215 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.6762, allocations: 8.672 kB / 0.8215 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.6765, allocations: 7.938 kB / 0.8215 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.6769, allocations: 159.5 kB / 0.8216 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.6772, allocations: 0.6787 MB / 0.8223 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.6773, allocations: 6.5 kB / 0.8223 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.6773, allocations: 12.44 kB / 0.8223 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.6773, allocations: 0 / 0.8223 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.6998, allocations: 1.368 MB / 0.8236 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.727, allocations: 4.766 kB / 0.8237 GB, free: 8.773 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.169712943024933] Failed to read output from testmodel.py, exit status != 0: 8.79608306940645 8.820729706 8.144249791 Calling exit ...