Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.001656/0.001656, allocations: 105.8 kB / 16.45 MB, free: 6.035 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.001923/0.001923, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8799/0.8799, 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.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 74.38 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1696, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002865/0.1725, allocations: 1.495 MB / 0.6892 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5086/0.6811, allocations: 132.5 MB / 0.8186 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.6812, allocations: 1.062 kB / 0.8186 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.6812, allocations: 6.328 kB / 0.8186 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.6813, allocations: 9.062 kB / 0.8186 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.6817, allocations: 71.55 kB / 0.8187 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6818, allocations: 54.47 kB / 0.8187 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.6819, allocations: 15.05 kB / 0.8187 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.682, allocations: 21.36 kB / 0.8188 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.682, allocations: 32.17 kB / 0.8188 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.6821, allocations: 4.281 kB / 0.8188 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.6822, allocations: 16.22 kB / 0.8188 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.6822, allocations: 7 kB / 0.8188 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.6822, allocations: 22.72 kB / 0.8188 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.6824, allocations: 60.34 kB / 0.8189 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6824, allocations: 1.344 kB / 0.8189 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6824, allocations: 0 / 0.8189 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.6824, allocations: 3.938 kB / 0.8189 GB, free: 12.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005881/0.683, allocations: 377.9 kB / 0.8193 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.683, allocations: 11.06 kB / 0.8193 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.683, allocations: 35.75 kB / 0.8193 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.6831, allocations: 8.547 kB / 0.8193 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.6832, allocations: 173.5 kB / 0.8195 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.6832, allocations: 1.719 kB / 0.8195 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.6832, allocations: 6.875 kB / 0.8195 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.6835, allocations: 75.94 kB / 0.8196 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6835, allocations: 3.938 kB / 0.8196 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6835, allocations: 1.5 kB / 0.8196 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6835, allocations: 2.25 kB / 0.8196 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.6838, allocations: 69.48 kB / 0.8196 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.6842, allocations: 293.4 kB / 0.8199 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.6844, allocations: 54.86 kB / 0.82 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.6846, allocations: 34.91 kB / 0.82 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.6847, allocations: 91.58 kB / 0.8201 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.6848, allocations: 37 kB / 0.8201 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6848, allocations: 1.156 kB / 0.8201 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005141/0.6853, allocations: 129.9 kB / 0.8202 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.6853, allocations: 52.47 kB / 0.8203 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.6854, allocations: 123.6 kB / 0.8204 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.6855, allocations: 29.14 kB / 0.8204 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.6855, allocations: 85.8 kB / 0.8205 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.6855, allocations: 15.41 kB / 0.8205 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.6856, allocations: 16.22 kB / 0.8206 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6857, allocations: 321.9 kB / 0.8209 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.6858, allocations: 33.8 kB / 0.8209 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.686, allocations: 31.03 kB / 0.8209 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.6862, allocations: 76.33 kB / 0.821 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6862, allocations: 0 / 0.821 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002885/0.6865, allocations: 100.9 kB / 0.8211 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6865, allocations: 11.31 kB / 0.8211 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6865, allocations: 0 / 0.8211 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6865, allocations: 0 / 0.8211 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.6866, allocations: 17.05 kB / 0.8211 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.6867, allocations: 0 / 0.8211 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.6867, allocations: 16.58 kB / 0.8211 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.6867, allocations: 6.781 kB / 0.8211 GB, free: 10.79 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 9.221e-05/0.6868, allocations: 113.3 kB / 0.8213 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.6869, allocations: 4.781 kB / 0.8213 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.6872, allocations: 105.8 kB / 0.8214 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.6872, allocations: 2.969 kB / 0.8214 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6872, allocations: 4 kB / 0.8214 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6872, allocations: 2.25 kB / 0.8214 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.6874, allocations: 173.1 kB / 0.8215 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6874, allocations: 0 / 0.8215 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.6875, allocations: 20.56 kB / 0.8216 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.6875, allocations: 0 / 0.8216 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.6875, allocations: 0 / 0.8216 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6875, allocations: 0 / 0.8216 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6875, allocations: 0 / 0.8216 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.6878, allocations: 209.9 kB / 0.8218 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.6879, allocations: 82.66 kB / 0.8218 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6879, allocations: 5.344 kB / 0.8218 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.688, allocations: 11.62 kB / 0.8218 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.6881, allocations: 6.844 kB / 0.8219 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.6881, allocations: 7.688 kB / 0.8219 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.6881, allocations: 89.77 kB / 0.8219 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6881, allocations: 0 / 0.8219 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002456/0.6884, allocations: 15.94 kB / 0.822 GB, free: 10.09 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.0006959/0.6891, allocations: 0.7365 MB / 0.8227 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.6894, allocations: 70.45 kB / 0.8227 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6894, allocations: 0 / 0.8227 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.6895, allocations: 43.58 kB / 0.8228 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.6898, allocations: 10.47 kB / 0.8228 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.6916, allocations: 1.42 MB / 0.8242 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.6919, allocations: 0.685 MB / 0.8249 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.6919, allocations: 6.922 kB / 0.8249 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.6919, allocations: 16.75 kB / 0.8249 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6919, allocations: 0 / 0.8249 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.7151, allocations: 2.066 MB / 0.8269 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.681, allocations: 11.06 kB / 0.8269 GB, free: 6.781 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.314599887933582] Failed to read output from testmodel.py, exit status != 0: 8.748984278179705 8.767700314 8.081575245 Calling exit ...