Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007556/0.0007556, 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.0007546/0.0007546, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8148/0.8148, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001386/0.001386, allocations: 234.4 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.6397/0.6397, allocations: 138.4 MB / 455.1 MB, free: 30 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.814e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.2182/0.2182, allocations: 3.897 MB / 0.6513 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.2183, allocations: 144.9 kB / 0.6514 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.2183, allocations: 1.719 kB / 0.6514 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.948e-05/0.2184, allocations: 5.344 kB / 0.6514 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.2185, allocations: 11.62 kB / 0.6514 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.2187, allocations: 83.83 kB / 0.6515 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.2188, allocations: 36.97 kB / 0.6516 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.2188, allocations: 4.094 kB / 0.6516 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.2189, allocations: 23.53 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.2189, allocations: 13.81 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.219, allocations: 1.156 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.2191, allocations: 55.61 kB / 0.6517 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.2191, allocations: 4.984 kB / 0.6517 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.2191, allocations: 11.34 kB / 0.6517 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2193, allocations: 62.05 kB / 0.6517 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2193, allocations: 3.719 kB / 0.6517 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2193, allocations: 3.938 kB / 0.6517 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2193, allocations: 0 / 0.6517 GB, free: 55.33 MB / 0.5573 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.000238/0.2195, allocations: 256.5 kB / 0.652 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2195, allocations: 12.62 kB / 0.652 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2196, allocations: 8.172 kB / 0.652 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.752e-05/0.2196, allocations: 110.5 kB / 0.6521 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.2197, allocations: 54.09 kB / 0.6522 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.2197, allocations: 384 / 0.6522 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.2198, allocations: 70.02 kB / 0.6522 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2198, allocations: 5.156 kB / 0.6522 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2198, allocations: 3.938 kB / 0.6522 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.2198, allocations: 2.422 kB / 0.6522 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.2198, allocations: 17.23 kB / 0.6523 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.2201, allocations: 201.1 kB / 0.6524 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.687e-05/0.2201, allocations: 25.2 kB / 0.6525 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.2201, allocations: 10.52 kB / 0.6525 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.2202, allocations: 8.844 kB / 0.6525 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.2202, allocations: 32.53 kB / 0.6525 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2202, allocations: 0 / 0.6525 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001019/0.2203, allocations: 35.83 kB / 0.6526 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/0.2203, allocations: 60.91 kB / 0.6526 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.105e-05/0.2203, allocations: 103.6 kB / 0.6527 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.2203, allocations: 26.41 kB / 0.6527 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.2204, allocations: 91.41 kB / 0.6528 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-06/0.2204, allocations: 3.953 kB / 0.6528 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.2204, allocations: 15.23 kB / 0.6528 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.424e-05/0.2204, allocations: 314 kB / 0.6531 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.2204, allocations: 6.531 kB / 0.6531 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.2204, allocations: 16.53 kB / 0.6532 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/0.2205, allocations: 22.23 kB / 0.6532 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2205, allocations: 1.969 kB / 0.6532 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.801e-05/0.2205, allocations: 52.31 kB / 0.6532 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.2205, allocations: 6.359 kB / 0.6532 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2205, allocations: 2.125 kB / 0.6532 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2205, allocations: 5.75 kB / 0.6533 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.2205, allocations: 5.719 kB / 0.6533 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2205, allocations: 1.906 kB / 0.6533 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.2206, allocations: 3.969 kB / 0.6533 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.2206, allocations: 2.859 kB / 0.6533 GB, free: 53.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 3.18e-05/0.2206, allocations: 112.8 kB / 0.6534 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.2206, allocations: 7.578 kB / 0.6534 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.2207, allocations: 126.4 kB / 0.6535 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2207, allocations: 188.9 kB / 0.6537 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.2207, allocations: 182.7 kB / 0.6539 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.2207, allocations: 179 kB / 0.654 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.059e-05/0.2208, allocations: 358.5 kB / 0.6544 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2208, allocations: 103.6 kB / 0.6545 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.2208, allocations: 103.3 kB / 0.6546 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.2208, allocations: 186 kB / 0.6547 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2208, allocations: 180.4 kB / 0.6549 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.2208, allocations: 190.9 kB / 0.6551 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.2208, allocations: 178.4 kB / 0.6553 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.569e-05/0.2209, allocations: 302 kB / 0.6556 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.2209, allocations: 108 kB / 0.6557 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2209, allocations: 187.2 kB / 0.6558 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.221, allocations: 105.7 kB / 0.6559 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.221, allocations: 183 kB / 0.6561 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.221, allocations: 107 kB / 0.6562 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.221, allocations: 86.11 kB / 0.6563 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.221, allocations: 3.781 kB / 0.6563 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001511/0.2212, allocations: 18.22 kB / 0.6563 GB, free: 50.57 MB / 0.5573 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 (0): * Single equations (assignments): 0 * 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.000101/0.2213, allocations: 194.4 kB / 0.6565 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.657e-05/0.2213, allocations: 11.3 kB / 0.6565 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2213, allocations: 0 / 0.6565 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.2213, allocations: 1.531 kB / 0.6565 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2215, allocations: 462.8 kB / 0.657 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/0.2217, allocations: 205.9 kB / 0.6572 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.72e-05/0.2217, allocations: 61.89 kB / 0.6572 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.2217, allocations: 14.81 kB / 0.6572 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of SimCode: time 6.32e-07/0.2217, allocations: 2.031 kB / 0.6572 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.001438/0.2232, allocations: 0.7469 MB / 0.658 GB, free: 49.62 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.087323514744639] Failed to read output from testmodel.py, exit status != 0: 0.227979832328856 0.23494809600000002 0.014170571000000002 Calling exit ...