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.000802/0.000802, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007549/0.0007549, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.8166/0.8166, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001335/0.001335, allocations: 233.6 kB / 260.2 MB, free: 13.02 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.6379/0.6379, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.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.202e-06/1.202e-06, allocations: 0 / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.571e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3109/0.3109, allocations: 130.4 MB / 0.7748 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.3111, allocations: 63.78 kB / 0.7749 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.3111, allocations: 0 / 0.7749 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.3112, allocations: 4 kB / 0.7749 GB, free: 8.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.3113, allocations: 19.78 kB / 0.7749 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.312, allocations: 207.6 kB / 0.7751 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.312, allocations: 35.84 kB / 0.7751 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3121, allocations: 7.984 kB / 0.7751 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.97e-05/0.3121, allocations: 23.91 kB / 0.7752 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.3122, allocations: 4 kB / 0.7752 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3122, allocations: 0 / 0.7752 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.3125, allocations: 175.3 kB / 0.7753 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.3125, allocations: 15.98 kB / 0.7753 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.3126, allocations: 4 kB / 0.7753 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.3128, allocations: 115.7 kB / 0.7755 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3128, allocations: 0 / 0.7755 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3128, allocations: 0 / 0.7755 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3128, allocations: 0 / 0.7755 GB, free: 7.723 MB / 0.6042 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.0003227/0.3131, allocations: 266.3 kB / 0.7757 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3131, allocations: 9.938 kB / 0.7757 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.3134, allocations: 28 kB / 0.7757 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.3134, allocations: 113.7 kB / 0.7759 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.3135, allocations: 56.62 kB / 0.7759 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3135, allocations: 4.125 kB / 0.7759 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.3136, allocations: 71.39 kB / 0.776 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3136, allocations: 0 / 0.776 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3136, allocations: 0 / 0.776 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.3137, allocations: 7.984 kB / 0.776 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.3137, allocations: 19.98 kB / 0.776 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.314, allocations: 205.1 kB / 0.7762 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.314, allocations: 30.52 kB / 0.7762 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.314, allocations: 8.922 kB / 0.7762 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.893e-05/0.3141, allocations: 15.98 kB / 0.7763 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3141, allocations: 30.56 kB / 0.7763 GB, free: 6.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3141, allocations: 0 / 0.7763 GB, free: 6.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.3143, allocations: 54.91 kB / 0.7763 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3143, allocations: 55.47 kB / 0.7764 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.3144, allocations: 106.4 kB / 0.7765 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3144, allocations: 33.64 kB / 0.7765 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.3144, allocations: 88.09 kB / 0.7766 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.523e-06/0.3144, allocations: 7.938 kB / 0.7766 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.3145, allocations: 13.72 kB / 0.7766 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.3145, allocations: 322.8 kB / 0.7769 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.3146, allocations: 4 kB / 0.7769 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.3146, allocations: 22.58 kB / 0.777 GB, free: 6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.3146, allocations: 38.5 kB / 0.777 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3146, allocations: 0 / 0.777 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.033e-05/0.3147, allocations: 58.41 kB / 0.7771 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3147, allocations: 7.984 kB / 0.7771 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3147, allocations: 4 kB / 0.7771 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3147, allocations: 0 / 0.7771 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.3148, allocations: 4 kB / 0.7771 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3148, allocations: 4 kB / 0.7771 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.3148, allocations: 0 / 0.7771 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3148, allocations: 5.656 kB / 0.7771 GB, free: 5.867 MB / 0.6042 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.69e-05/0.3148, allocations: 118.4 kB / 0.7772 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3148, allocations: 4 kB / 0.7772 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.3149, allocations: 11.3 kB / 0.7772 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3149, allocations: 0 / 0.7772 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3149, allocations: 0 / 0.7772 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3149, allocations: 288 / 0.7772 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3151, allocations: 319.1 kB / 0.7775 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3151, allocations: 0 / 0.7775 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.3151, allocations: 4 kB / 0.7775 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3151, allocations: 8.047 kB / 0.7775 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.3151, allocations: 0 / 0.7775 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3151, allocations: 3.938 kB / 0.7775 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3151, allocations: 0.875 kB / 0.7775 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.347e-05/0.3151, allocations: 73.92 kB / 0.7776 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.3151, allocations: 4 kB / 0.7776 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3152, allocations: 0 / 0.7776 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.3152, allocations: 7.984 kB / 0.7776 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.3152, allocations: 3.938 kB / 0.7776 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3152, allocations: 32 / 0.7776 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.3152, allocations: 87.22 kB / 0.7777 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3152, allocations: 0 / 0.7777 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001345/0.3154, allocations: 15.28 kB / 0.7777 GB, free: 5.148 MB / 0.6042 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.0001078/0.3155, allocations: 105.2 kB / 0.7778 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.3156, allocations: 12 kB / 0.7778 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3156, allocations: 0 / 0.7778 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.188e-06/0.3156, allocations: 16.12 kB / 0.7778 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.3158, allocations: 0 / 0.7778 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.316, allocations: 148.7 kB / 0.778 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.316, allocations: 59.36 kB / 0.778 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.3161, allocations: 8.5 kB / 0.778 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.3161, allocations: 0 / 0.778 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of Templates: time 0.00147/0.3175, allocations: 0.6348 MB / 0.7787 GB, free: 4.121 MB / 0.6042 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.273968164809048] Failed to read output from testmodel.py, exit status != 0: 0.32221324648708105 0.333976156 0.019076534000000003 Calling exit ...