Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001685/0.001685, allocations: 78.88 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001875/0.001875, allocations: 167.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9529/0.9529, allocations: 110.3 MB / 369.4 MB, free: 1.188 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5478 GB, free: 9.848 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.502e-05, allocations: 5.375 kB / 0.5478 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005196/0.005221, allocations: 3.225 MB / 0.5509 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001131/0.005334, allocations: 55.73 kB / 0.551 GB, free: 6.559 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.005363, allocations: 3.938 kB / 0.551 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.005483, allocations: 3.984 kB / 0.551 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.694e-05/0.00557, allocations: 15.86 kB / 0.551 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.00618, allocations: 190.3 kB / 0.5512 GB, free: 6.352 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.016e-05/0.00627, allocations: 39.84 kB / 0.5512 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.006309, allocations: 0 / 0.5512 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.006364, allocations: 23.86 kB / 0.5512 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.006434, allocations: 11.97 kB / 0.5513 GB, free: 6.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.006449, allocations: 0 / 0.5513 GB, free: 6.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.006745, allocations: 139.5 kB / 0.5514 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.006793, allocations: 8 kB / 0.5514 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.006823, allocations: 11.98 kB / 0.5514 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.007102, allocations: 135.6 kB / 0.5515 GB, free: 5.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.007106, allocations: 0 / 0.5515 GB, free: 5.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007107, allocations: 0 / 0.5515 GB, free: 5.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.007111, allocations: 0 / 0.5515 GB, free: 5.988 MB / 462.1 MB 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.0004334/0.007544, allocations: 270.2 kB / 0.5518 GB, free: 5.695 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.007579, allocations: 8.031 kB / 0.5518 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.007619, allocations: 4.938 kB / 0.5518 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.007724, allocations: 101.8 kB / 0.5519 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.007806, allocations: 59.97 kB / 0.552 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.007814, allocations: 384 / 0.552 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.007974, allocations: 71.89 kB / 0.552 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.007982, allocations: 192 / 0.552 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.007996, allocations: 3.938 kB / 0.552 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.00802, allocations: 4 kB / 0.552 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.008072, allocations: 11.98 kB / 0.552 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.008578, allocations: 244.4 kB / 0.5523 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.804e-05/0.008636, allocations: 18.58 kB / 0.5523 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.008658, allocations: 16.72 kB / 0.5523 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.00876, allocations: 36.05 kB / 0.5524 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.008794, allocations: 34.55 kB / 0.5524 GB, free: 4.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.008795, allocations: 0 / 0.5524 GB, free: 4.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.008945, allocations: 33.7 kB / 0.5524 GB, free: 4.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.008986, allocations: 55.41 kB / 0.5525 GB, free: 4.887 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.009083, allocations: 101.8 kB / 0.5526 GB, free: 4.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.0091, allocations: 25.7 kB / 0.5526 GB, free: 4.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.009154, allocations: 88.09 kB / 0.5527 GB, free: 4.656 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.00916, allocations: 3.984 kB / 0.5527 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.009191, allocations: 13.84 kB / 0.5527 GB, free: 4.633 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.009334, allocations: 326.8 kB / 0.553 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.009347, allocations: 3.938 kB / 0.553 GB, free: 4.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.009371, allocations: 17.66 kB / 0.553 GB, free: 4.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.009413, allocations: 25.7 kB / 0.553 GB, free: 4.246 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009414, allocations: 0 / 0.553 GB, free: 4.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.39e-05/0.009498, allocations: 53.53 kB / 0.5531 GB, free: 4.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.009513, allocations: 8 kB / 0.5531 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.009517, allocations: 0 / 0.5531 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.009529, allocations: 4.062 kB / 0.5531 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.414e-05/0.009573, allocations: 7.984 kB / 0.5531 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.00958, allocations: 4 kB / 0.5531 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.009601, allocations: 3.938 kB / 0.5531 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.009609, allocations: 0 / 0.5531 GB, free: 4.16 MB / 462.1 MB 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 8.601e-05/0.009695, allocations: 110.5 kB / 0.5532 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.009726, allocations: 3.938 kB / 0.5532 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.009866, allocations: 129.2 kB / 0.5534 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/0.009939, allocations: 180.3 kB / 0.5535 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.094e-05/0.01002, allocations: 192.1 kB / 0.5537 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.591e-05/0.0101, allocations: 180.2 kB / 0.5539 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.01032, allocations: 360.9 kB / 0.5542 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.01036, allocations: 104.9 kB / 0.5543 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.0104, allocations: 105 kB / 0.5544 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-05/0.01049, allocations: 188.1 kB / 0.5546 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.01056, allocations: 176.3 kB / 0.5548 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.978e-05/0.01064, allocations: 184.3 kB / 0.555 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.122e-05/0.01072, allocations: 180.2 kB / 0.5551 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.01089, allocations: 311.7 kB / 0.5554 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.01094, allocations: 104.9 kB / 0.5555 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.01104, allocations: 184.3 kB / 0.5557 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.0112, allocations: 116.9 kB / 0.5558 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.01128, allocations: 180.3 kB / 0.556 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.01133, allocations: 104.9 kB / 0.5561 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.01138, allocations: 83.28 kB / 0.5562 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01138, allocations: 0 / 0.5562 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.01166, allocations: 35.86 kB / 0.5562 GB, free: 0.832 MB / 462.1 MB 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.0003163/0.01198, allocations: 236.2 kB / 0.5564 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.205e-05/0.01205, allocations: 8 kB / 0.5564 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01205, allocations: 0 / 0.5564 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.01205, allocations: 3.938 kB / 0.5564 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.01255, allocations: 467.8 kB / 0.5569 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.01285, allocations: 176 kB / 0.557 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.583e-05/0.01292, allocations: 59.34 kB / 0.5571 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.01296, allocations: 9.812 kB / 0.5571 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.01298, allocations: 12.5 kB / 0.5571 GB, free: 15.82 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01298, allocations: 0 / 0.5571 GB, free: 15.82 MB / 478.1 MB Notification: Performance of Templates: time 0.004263/0.01724, allocations: 1.323 MB / 0.5584 GB, free: 14.57 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.68978214263916] Failed to read output from testmodel.py, exit status != 0: 0.025863278657197952 0.04017317 0.029987326 Calling exit ...