Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009394/0.0009394, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001099/0.001099, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001729/0.001729, allocations: 243.2 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7327/0.7327, allocations: 138.4 MB / 402.2 MB, free: 476 kB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.916e-05, allocations: 3.406 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.139/0.139, allocations: 143.6 MB / 0.5916 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.000183/0.1392, allocations: 51.75 kB / 0.5917 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.1392, allocations: 0 / 0.5917 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1394, allocations: 11.92 kB / 0.5917 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.1395, allocations: 7.938 kB / 0.5917 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009252/0.1404, allocations: 223.1 kB / 0.5919 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.1405, allocations: 31.84 kB / 0.592 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1405, allocations: 4 kB / 0.592 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.1406, allocations: 23.92 kB / 0.592 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.1407, allocations: 19.91 kB / 0.592 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1407, allocations: 0 / 0.592 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1411, allocations: 167.4 kB / 0.5922 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1411, allocations: 4 kB / 0.5922 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.1412, allocations: 11.97 kB / 0.5922 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1414, allocations: 119.6 kB / 0.5923 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1414, allocations: 0 / 0.5923 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1414, allocations: 0 / 0.5923 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1414, allocations: 4 kB / 0.5923 GB, free: 2.152 MB / 0.5417 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.0003319/0.1418, allocations: 243.3 kB / 0.5925 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1418, allocations: 8.75 kB / 0.5925 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.1421, allocations: 32.84 kB / 0.5926 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.1422, allocations: 117.7 kB / 0.5927 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.1423, allocations: 51.97 kB / 0.5927 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1423, allocations: 8.125 kB / 0.5927 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1424, allocations: 81.11 kB / 0.5928 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1424, allocations: 4 kB / 0.5928 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1424, allocations: 0 / 0.5928 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1425, allocations: 4 kB / 0.5928 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.1425, allocations: 9.062 kB / 0.5928 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1428, allocations: 161.1 kB / 0.593 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.1428, allocations: 30.44 kB / 0.593 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.1428, allocations: 4.859 kB / 0.593 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.143, allocations: 20.09 kB / 0.593 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.143, allocations: 38.56 kB / 0.5931 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.143, allocations: 0 / 0.5931 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.1432, allocations: 45.62 kB / 0.5931 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1432, allocations: 51.41 kB / 0.5932 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.1433, allocations: 104.2 kB / 0.5933 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1433, allocations: 29.7 kB / 0.5933 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.1434, allocations: 92.36 kB / 0.5934 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.1434, allocations: 7.953 kB / 0.5934 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1434, allocations: 25.77 kB / 0.5934 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.1435, allocations: 314.8 kB / 0.5937 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.1435, allocations: 0 / 0.5937 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.1435, allocations: 22.56 kB / 0.5937 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.1436, allocations: 33.33 kB / 0.5938 GB, free: 476 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1436, allocations: 3.938 kB / 0.5938 GB, free: 472 kB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.003e-05/0.1437, allocations: 49.62 kB / 0.5938 GB, free: 416 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1437, allocations: 12.09 kB / 0.5938 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1437, allocations: 0.7031 kB / 0.5938 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1437, allocations: 0 / 0.5938 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.1437, allocations: 8 kB / 0.5938 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1437, allocations: 0 / 0.5938 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.1438, allocations: 0 / 0.5938 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1438, allocations: 4 kB / 0.5938 GB, free: 392 kB / 0.5417 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 6.384e-05/0.1438, allocations: 112.6 kB / 0.5939 GB, free: 268 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1439, allocations: 7.984 kB / 0.594 GB, free: 260 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.1439, allocations: 12.12 kB / 0.594 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1439, allocations: 4 kB / 0.594 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1439, allocations: 0 / 0.594 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1439, allocations: 0 / 0.594 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1442, allocations: 271.8 kB / 0.5942 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1442, allocations: 2.906 kB / 0.5942 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.1442, allocations: 8.5 kB / 0.5942 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1442, allocations: 0 / 0.5942 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1442, allocations: 8 kB / 0.5943 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1442, allocations: 0 / 0.5943 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1442, allocations: 0.5625 kB / 0.5943 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.927e-05/0.1443, allocations: 69.98 kB / 0.5943 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1443, allocations: 4 kB / 0.5943 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1443, allocations: 0 / 0.5943 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.1444, allocations: 8.734 kB / 0.5943 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-06/0.1444, allocations: 0 / 0.5943 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1444, allocations: 0 / 0.5943 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.299e-05/0.1444, allocations: 12.8 kB / 0.5943 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.1444, allocations: 0 / 0.5943 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001086/0.1445, allocations: 12 kB / 0.5944 GB, free: 15.8 MB / 0.5573 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.0001057/0.1446, allocations: 89.25 kB / 0.5944 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.087e-05/0.1447, allocations: 17.42 kB / 0.5945 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1447, allocations: 0 / 0.5945 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.1447, allocations: 12.8 kB / 0.5945 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.1448, allocations: 21.53 kB / 0.5945 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.1451, allocations: 139.7 kB / 0.5946 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.513e-05/0.1451, allocations: 55.36 kB / 0.5947 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1451, allocations: 4 kB / 0.5947 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1452, allocations: 63.34 kB / 0.5947 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.1452, allocations: 4 kB / 0.5947 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of Templates: time 0.00213/0.1473, allocations: 0.7854 MB / 0.5955 GB, free: 14.61 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6775596528314054]