Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001464/0.001464, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001606/0.001606, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.9978/0.9978, allocations: 110.3 MB / 369.4 MB, free: 1.164 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5477 GB, free: 9.852 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.658e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006321/0.006347, allocations: 3.906 MB / 0.5516 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.006581, allocations: 135.5 kB / 0.5517 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.006611, allocations: 0 / 0.5517 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.006721, allocations: 11.88 kB / 0.5517 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.006798, allocations: 15.97 kB / 0.5517 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.007183, allocations: 87.56 kB / 0.5518 GB, free: 5.688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.007283, allocations: 31.86 kB / 0.5518 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.007321, allocations: 3.984 kB / 0.5518 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.00739, allocations: 19.98 kB / 0.5518 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.00749, allocations: 15.92 kB / 0.5519 GB, free: 5.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.007507, allocations: 4 kB / 0.5519 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.00772, allocations: 55.73 kB / 0.5519 GB, free: 5.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.007768, allocations: 7.938 kB / 0.5519 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.007801, allocations: 15.97 kB / 0.5519 GB, free: 5.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.007971, allocations: 55.88 kB / 0.552 GB, free: 5.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007975, allocations: 0 / 0.552 GB, free: 5.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007976, allocations: 0 / 0.552 GB, free: 5.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00798, allocations: 0 / 0.552 GB, free: 5.48 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.0004341/0.008414, allocations: 266.3 kB / 0.5522 GB, free: 5.191 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.008449, allocations: 8.031 kB / 0.5523 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.008492, allocations: 4.938 kB / 0.5523 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.008606, allocations: 105.8 kB / 0.5524 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/0.008694, allocations: 55.91 kB / 0.5524 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.008706, allocations: 4.375 kB / 0.5524 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.00887, allocations: 75.88 kB / 0.5525 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.00888, allocations: 192 / 0.5525 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.008894, allocations: 3.938 kB / 0.5525 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.008916, allocations: 4 kB / 0.5525 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.008966, allocations: 19.97 kB / 0.5525 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.009394, allocations: 208.6 kB / 0.5527 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.009442, allocations: 22.52 kB / 0.5527 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.009461, allocations: 12.86 kB / 0.5528 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.009516, allocations: 4 kB / 0.5528 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.009548, allocations: 30.56 kB / 0.5528 GB, free: 4.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.00955, allocations: 4 kB / 0.5528 GB, free: 4.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.009712, allocations: 37.69 kB / 0.5528 GB, free: 4.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.009761, allocations: 51.41 kB / 0.5529 GB, free: 4.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.009852, allocations: 97.86 kB / 0.553 GB, free: 4.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.009873, allocations: 29.64 kB / 0.553 GB, free: 4.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.00994, allocations: 100.1 kB / 0.5531 GB, free: 4.191 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.009947, allocations: 4 kB / 0.5531 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.009984, allocations: 13.72 kB / 0.5531 GB, free: 4.168 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.01013, allocations: 314.8 kB / 0.5534 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.01014, allocations: 0 / 0.5534 GB, free: 3.852 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.01017, allocations: 21.7 kB / 0.5534 GB, free: 3.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.01022, allocations: 17.72 kB / 0.5534 GB, free: 3.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01022, allocations: 0 / 0.5534 GB, free: 3.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.533e-05/0.01031, allocations: 65.55 kB / 0.5535 GB, free: 3.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01033, allocations: 4 kB / 0.5535 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.01033, allocations: 0 / 0.5535 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01035, allocations: 0 / 0.5535 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.01039, allocations: 8 kB / 0.5535 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.0104, allocations: 0 / 0.5535 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.01042, allocations: 3.938 kB / 0.5535 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01043, allocations: 3.984 kB / 0.5535 GB, free: 3.711 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 9.247e-05/0.01052, allocations: 114.5 kB / 0.5536 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.01055, allocations: 3.938 kB / 0.5536 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.01069, allocations: 125 kB / 0.5538 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.75e-05/0.01078, allocations: 188.2 kB / 0.5539 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-05/0.01087, allocations: 184.2 kB / 0.5541 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.773e-05/0.01095, allocations: 176.3 kB / 0.5543 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.01123, allocations: 360.8 kB / 0.5546 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/0.01128, allocations: 109 kB / 0.5547 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.01133, allocations: 101 kB / 0.5548 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/0.01142, allocations: 184.1 kB / 0.555 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.0115, allocations: 184.3 kB / 0.5552 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.451e-05/0.01159, allocations: 180.2 kB / 0.5553 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.783e-05/0.01168, allocations: 184.2 kB / 0.5555 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.01185, allocations: 307.7 kB / 0.5558 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.01191, allocations: 108.9 kB / 0.5559 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.01201, allocations: 188.2 kB / 0.5561 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.01218, allocations: 101 kB / 0.5562 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.01227, allocations: 180.3 kB / 0.5564 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.01231, allocations: 104.9 kB / 0.5565 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.01237, allocations: 87.27 kB / 0.5566 GB, free: 440 kB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01237, allocations: 0 / 0.5566 GB, free: 440 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.01263, allocations: 19.94 kB / 0.5566 GB, free: 420 kB / 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.0002062/0.01284, allocations: 190.5 kB / 0.5568 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.01291, allocations: 11.98 kB / 0.5568 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01291, allocations: 0 / 0.5568 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.01292, allocations: 7.875 kB / 0.5568 GB, free: 200 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.01341, allocations: 465.9 kB / 0.5572 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.0137, allocations: 184 kB / 0.5574 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.3e-05/0.01376, allocations: 55.36 kB / 0.5574 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.01381, allocations: 12.11 kB / 0.5575 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.01383, allocations: 12.5 kB / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01383, allocations: 0 / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of Templates: time 0.003363/0.01719, allocations: 0.6805 MB / 0.5581 GB, free: 14.77 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.614259544759989] Failed to read output from testmodel.py, exit status != 0: 0.026057127863168716 0.040913429 0.029654531 Calling exit ...