Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.0007143/0.0007143, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009716/0.001686, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006998/0.0006998, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009285/0.001628, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9157/0.9157, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09707/1.013, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6038/0.6038, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07805/0.6819, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 403.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.262e-05, allocations: 2.312 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.336/0.336, allocations: 144 MB / 0.5349 GB, free: 4.492 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.3362, allocations: 52.62 kB / 0.5349 GB, free: 4.445 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.3362, allocations: 0 / 0.5349 GB, free: 4.445 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3363, allocations: 3.938 kB / 0.5349 GB, free: 4.441 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 7.837e-05/0.3364, allocations: 22.86 kB / 0.535 GB, free: 4.422 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.337, allocations: 218.4 kB / 0.5352 GB, free: 4.215 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 9.964e-05/0.3371, allocations: 31.84 kB / 0.5352 GB, free: 4.184 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.3372, allocations: 7.984 kB / 0.5352 GB, free: 4.176 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.3372, allocations: 27.91 kB / 0.5352 GB, free: 4.148 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.3373, allocations: 4 kB / 0.5352 GB, free: 4.145 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3373, allocations: 4 kB / 0.5352 GB, free: 4.141 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.3376, allocations: 170.1 kB / 0.5354 GB, free: 3.977 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.3377, allocations: 4 kB / 0.5354 GB, free: 3.973 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.3377, allocations: 11.94 kB / 0.5354 GB, free: 3.961 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3379, allocations: 93.89 kB / 0.5355 GB, free: 3.871 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.3379, allocations: 4 kB / 0.5355 GB, free: 3.867 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3379, allocations: 0 / 0.5355 GB, free: 3.867 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3379, allocations: 4 kB / 0.5355 GB, free: 3.863 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003112/0.3382, allocations: 252.5 kB / 0.5358 GB, free: 3.594 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3382, allocations: 8.031 kB / 0.5358 GB, free: 3.586 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.3385, allocations: 122.6 kB / 0.5359 GB, free: 3.449 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.3386, allocations: 112.7 kB / 0.536 GB, free: 3.316 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3387, allocations: 51.97 kB / 0.536 GB, free: 3.254 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3387, allocations: 4.375 kB / 0.536 GB, free: 3.25 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3388, allocations: 79.61 kB / 0.5361 GB, free: 3.156 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3388, allocations: 0 / 0.5361 GB, free: 3.156 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3388, allocations: 0 / 0.5361 GB, free: 3.156 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3389, allocations: 7.984 kB / 0.5361 GB, free: 3.148 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.3389, allocations: 8.641 kB / 0.5361 GB, free: 3.141 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.3391, allocations: 166 kB / 0.5363 GB, free: 2.961 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.3392, allocations: 22.52 kB / 0.5363 GB, free: 2.93 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.348e-05/0.3392, allocations: 8.859 kB / 0.5363 GB, free: 2.918 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.3392, allocations: 16.09 kB / 0.5363 GB, free: 2.902 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3393, allocations: 38.5 kB / 0.5364 GB, free: 2.855 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.3393, allocations: 0 / 0.5364 GB, free: 2.855 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.3395, allocations: 50.28 kB / 0.5364 GB, free: 2.801 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3395, allocations: 55.39 kB / 0.5365 GB, free: 2.734 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.3396, allocations: 106.7 kB / 0.5366 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3396, allocations: 25.7 kB / 0.5366 GB, free: 2.586 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.3396, allocations: 89.81 kB / 0.5367 GB, free: 2.496 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 8.086e-06/0.3396, allocations: 7.891 kB / 0.5367 GB, free: 2.488 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3397, allocations: 21.69 kB / 0.5367 GB, free: 2.461 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3398, allocations: 310.8 kB / 0.537 GB, free: 2.148 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.3398, allocations: 4.875 kB / 0.537 GB, free: 2.145 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.3398, allocations: 24.12 kB / 0.537 GB, free: 2.113 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.3398, allocations: 37.36 kB / 0.5371 GB, free: 2.066 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3398, allocations: 0 / 0.5371 GB, free: 2.066 MB / 0.4949 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.411e-05/0.3399, allocations: 49.56 kB / 0.5371 GB, free: 2.012 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3399, allocations: 8 kB / 0.5371 GB, free: 2.004 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3399, allocations: 0 / 0.5371 GB, free: 2.004 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3399, allocations: 0 / 0.5371 GB, free: 2.004 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.34, allocations: 8.688 kB / 0.5371 GB, free: 1.996 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.34, allocations: 96 / 0.5371 GB, free: 1.996 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.34, allocations: 8 kB / 0.5371 GB, free: 1.988 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.34, allocations: 3.984 kB / 0.5371 GB, free: 1.984 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.394e-05/0.34, allocations: 116.6 kB / 0.5373 GB, free: 1.859 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3401, allocations: 7.938 kB / 0.5373 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.3401, allocations: 3.312 kB / 0.5373 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3401, allocations: 0 / 0.5373 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3401, allocations: 0.5 kB / 0.5373 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3401, allocations: 0 / 0.5373 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3403, allocations: 283.7 kB / 0.5375 GB, free: 1.543 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3403, allocations: 5.125 kB / 0.5375 GB, free: 1.539 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.3403, allocations: 4 kB / 0.5375 GB, free: 1.535 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.3403, allocations: 3.984 kB / 0.5375 GB, free: 1.531 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3403, allocations: 1.172 kB / 0.5376 GB, free: 1.531 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-06/0.3403, allocations: 0 / 0.5376 GB, free: 1.531 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3403, allocations: 4 kB / 0.5376 GB, free: 1.527 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3403, allocations: 0 / 0.5376 GB, free: 1.527 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.921e-05/0.3403, allocations: 73.8 kB / 0.5376 GB, free: 1.434 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.3404, allocations: 5.188 kB / 0.5376 GB, free: 1.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.3404, allocations: 4 kB / 0.5376 GB, free: 1.426 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-06/0.3404, allocations: 4.031 kB / 0.5376 GB, free: 1.422 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.3404, allocations: 4 kB / 0.5376 GB, free: 1.418 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 1.307e-05/0.3404, allocations: 16.83 kB / 0.5377 GB, free: 1.398 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.3404, allocations: 0 / 0.5377 GB, free: 1.398 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001008/0.3405, allocations: 4 kB / 0.5377 GB, free: 1.395 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001138/0.3406, allocations: 77.69 kB / 0.5377 GB, free: 1.312 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 5.512e-05/0.3407, allocations: 17.05 kB / 0.5378 GB, free: 1.293 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3407, allocations: 8.094 kB / 0.5378 GB, free: 1.285 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.3407, allocations: 16.78 kB / 0.5378 GB, free: 1.266 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3408, allocations: 53.2 kB / 0.5378 GB, free: 1.211 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.3415, allocations: 136.7 kB / 0.538 GB, free: 1.051 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.3415, allocations: 55.53 kB / 0.538 GB, free: 0.9766 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 4.514e-05/0.3416, allocations: 8 kB / 0.538 GB, free: 0.9688 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.3417, allocations: 63.34 kB / 0.5381 GB, free: 0.9102 MB / 0.4949 GB Notification: Performance of SimCode: time 9.21e-07/0.3417, allocations: 0 / 0.5381 GB, free: 0.9102 MB / 0.4949 GB Notification: Performance of Templates: time 0.002378/0.344, allocations: 0.802 MB / 0.5389 GB, free: 148 kB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4360400307923555]