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.000729/0.000729, allocations: 76.55 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.0007323/0.0007323, allocations: 181.9 kB / 23.22 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.8498/0.8498, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5044/0.5044, allocations: 110.2 MB / 370.2 MB, free: 12.64 MB / 346.7 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.463e-06/1.463e-06, allocations: 0 / 0.5485 GB, free: 8.27 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.32e-05, allocations: 6.219 kB / 0.5485 GB, free: 8.262 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003338/0.003361, allocations: 3.221 MB / 0.5517 GB, free: 5.016 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 6.169e-05/0.003423, allocations: 55.75 kB / 0.5517 GB, free: 4.961 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.003449, allocations: 4 kB / 0.5517 GB, free: 4.957 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.003554, allocations: 7.922 kB / 0.5517 GB, free: 4.949 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.003625, allocations: 11.92 kB / 0.5517 GB, free: 4.938 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.004042, allocations: 199 kB / 0.5519 GB, free: 4.742 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.004126, allocations: 35.86 kB / 0.552 GB, free: 4.707 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.00417, allocations: 7.984 kB / 0.552 GB, free: 4.699 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.004224, allocations: 15.92 kB / 0.552 GB, free: 4.684 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.004293, allocations: 15.98 kB / 0.552 GB, free: 4.668 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.004306, allocations: 0 / 0.552 GB, free: 4.668 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.004502, allocations: 135.5 kB / 0.5521 GB, free: 4.535 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.004547, allocations: 7.984 kB / 0.5521 GB, free: 4.527 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.004566, allocations: 11.98 kB / 0.5521 GB, free: 4.516 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.004755, allocations: 123.7 kB / 0.5523 GB, free: 4.395 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004757, allocations: 0 / 0.5523 GB, free: 4.395 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004757, allocations: 4 kB / 0.5523 GB, free: 4.391 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.004763, allocations: 4 kB / 0.5523 GB, free: 4.387 MB / 474.7 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.0003013/0.005064, allocations: 274.2 kB / 0.5525 GB, free: 4.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.005096, allocations: 11.97 kB / 0.5525 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.005129, allocations: 4.875 kB / 0.5526 GB, free: 4.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.784e-05/0.005197, allocations: 105.8 kB / 0.5527 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.00525, allocations: 51.97 kB / 0.5527 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.005258, allocations: 4.375 kB / 0.5527 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005358, allocations: 67.95 kB / 0.5528 GB, free: 3.801 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.005365, allocations: 4.188 kB / 0.5528 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.005379, allocations: 7.922 kB / 0.5528 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.005395, allocations: 4 kB / 0.5528 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.005429, allocations: 15.92 kB / 0.5528 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.00584, allocations: 248.4 kB / 0.553 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.005875, allocations: 18.56 kB / 0.5531 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.005893, allocations: 12.86 kB / 0.5531 GB, free: 3.453 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.743e-05/0.00595, allocations: 35.97 kB / 0.5531 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.00597, allocations: 30.56 kB / 0.5531 GB, free: 3.379 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.00597, allocations: 0 / 0.5531 GB, free: 3.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.006084, allocations: 45.64 kB / 0.5532 GB, free: 3.328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.006111, allocations: 51.41 kB / 0.5532 GB, free: 3.266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.006166, allocations: 97.84 kB / 0.5533 GB, free: 3.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.006176, allocations: 29.7 kB / 0.5533 GB, free: 3.125 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.006214, allocations: 88.09 kB / 0.5534 GB, free: 3.035 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.006218, allocations: 0 / 0.5534 GB, free: 3.035 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.006239, allocations: 13.72 kB / 0.5534 GB, free: 3.016 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.006313, allocations: 318.8 kB / 0.5537 GB, free: 2.695 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.006338, allocations: 4 kB / 0.5537 GB, free: 2.691 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/0.006374, allocations: 13.72 kB / 0.5538 GB, free: 2.672 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.006408, allocations: 33.77 kB / 0.5538 GB, free: 2.633 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006409, allocations: 0 / 0.5538 GB, free: 2.633 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.629e-05/0.006465, allocations: 49.88 kB / 0.5538 GB, free: 2.578 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006476, allocations: 8 kB / 0.5539 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.00648, allocations: 0 / 0.5539 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006492, allocations: 3.984 kB / 0.5539 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.006528, allocations: 7.938 kB / 0.5539 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.006534, allocations: 3.984 kB / 0.5539 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.006548, allocations: 16.05 kB / 0.5539 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.006555, allocations: 0 / 0.5539 GB, free: 2.539 MB / 474.7 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 5.487e-05/0.00661, allocations: 113.8 kB / 0.554 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.006624, allocations: 3.938 kB / 0.554 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.00671, allocations: 121 kB / 0.5541 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-05/0.006752, allocations: 184.1 kB / 0.5543 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-05/0.006793, allocations: 180.3 kB / 0.5545 GB, free: 1.914 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-05/0.006832, allocations: 176.3 kB / 0.5546 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.006984, allocations: 360.8 kB / 0.555 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/0.00701, allocations: 108.9 kB / 0.5551 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.007036, allocations: 104.9 kB / 0.5552 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.234e-05/0.007078, allocations: 188.2 kB / 0.5554 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.007125, allocations: 180.3 kB / 0.5555 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.251e-05/0.007167, allocations: 184.2 kB / 0.5557 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.916e-05/0.007216, allocations: 176.3 kB / 0.5559 GB, free: 388 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.007325, allocations: 311.7 kB / 0.5562 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.00737, allocations: 116.9 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.007423, allocations: 176.3 kB / 0.5564 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.007519, allocations: 109 kB / 0.5565 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.00757, allocations: 180.2 kB / 0.5567 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.007597, allocations: 109 kB / 0.5568 GB, free: 15.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.007629, allocations: 83.28 kB / 0.5569 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007629, allocations: 0 / 0.5569 GB, free: 15.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.007835, allocations: 35.86 kB / 0.5569 GB, free: 15.22 MB / 490.7 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.0001981/0.008033, allocations: 241.3 kB / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.00809, allocations: 11.94 kB / 0.5572 GB, free: 14.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.008091, allocations: 0 / 0.5572 GB, free: 14.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.008092, allocations: 0 / 0.5572 GB, free: 14.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.008447, allocations: 463.7 kB / 0.5576 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.00875, allocations: 205.7 kB / 0.5578 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.008793, allocations: 59.48 kB / 0.5579 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.008823, allocations: 8.5 kB / 0.5579 GB, free: 14.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.008824, allocations: 0 / 0.5579 GB, free: 14.19 MB / 490.7 MB Notification: Performance of Templates: time 0.002122/0.01095, allocations: 1.276 MB / 0.5591 GB, free: 12.93 MB / 490.7 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: 4.783594720996916] Failed to read output from testmodel.py, exit status != 0: 0.015369821339845657 0.022293281 0.016084619 Calling exit ...