Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001432/0.001432, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001564/0.001564, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.472/1.472, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.9075/0.9075, allocations: 110.3 MB / 370.6 MB, free: 12.45 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 474.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.242e-05, allocations: 2.312 kB / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03692/0.03694, allocations: 38.09 MB / 0.5005 GB, free: 5.844 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.05446, allocations: 9.698 MB / 0.51 GB, free: 14.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.05655, allocations: 83.31 kB / 0.5101 GB, free: 14.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.0585, allocations: 0.6378 MB / 0.5107 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00588/0.06438, allocations: 2.057 MB / 0.5127 GB, free: 12.46 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.06786, allocations: 1.249 MB / 0.5139 GB, free: 11.49 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005556/0.07342, allocations: 3.472 MB / 0.5173 GB, free: 8.359 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.07492, allocations: 0.8304 MB / 0.5181 GB, free: 7.512 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.07879, allocations: 1.725 MB / 0.5198 GB, free: 5.793 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.08025, allocations: 0.8021 MB / 0.5206 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.08045, allocations: 100 kB / 0.5207 GB, free: 4.891 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.08261, allocations: 0.7324 MB / 0.5214 GB, free: 4.156 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003779/0.08299, allocations: 302.7 kB / 0.5217 GB, free: 3.859 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006808/0.08367, allocations: 439 kB / 0.5221 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.08703, allocations: 2.056 MB / 0.5241 GB, free: 1.367 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.08704, allocations: 0 / 0.5241 GB, free: 1.367 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08704, allocations: 0 / 0.5241 GB, free: 1.367 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.08706, allocations: 0 / 0.5241 GB, free: 1.367 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002747/0.08981, allocations: 1.465 MB / 0.5256 GB, free: 15.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.08985, allocations: 16.03 kB / 0.5256 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.09038, allocations: 204 kB / 0.5258 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.09245, allocations: 1.122 MB / 0.5269 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.09252, allocations: 58.38 kB / 0.5269 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.09266, allocations: 75.94 kB / 0.527 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.09439, allocations: 0.9411 MB / 0.5279 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.09441, allocations: 0 / 0.5279 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.09449, allocations: 31.98 kB / 0.5279 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.09453, allocations: 27.94 kB / 0.528 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.09583, allocations: 0.5633 MB / 0.5285 GB, free: 12.73 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.1003, allocations: 2.641 MB / 0.5311 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.101, allocations: 255.8 kB / 0.5313 GB, free: 9.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.1014, allocations: 167.1 kB / 0.5315 GB, free: 9.586 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.1016, allocations: 59.95 kB / 0.5316 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.1017, allocations: 42.5 kB / 0.5316 GB, free: 9.477 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.1017, allocations: 0 / 0.5316 GB, free: 9.477 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.001397/0.1031, allocations: 0.5131 MB / 0.5321 GB, free: 8.957 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1031, allocations: 55.41 kB / 0.5321 GB, free: 8.891 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1043, allocations: 0.8138 MB / 0.5329 GB, free: 8.066 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.1044, allocations: 29.7 kB / 0.533 GB, free: 8.031 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.1049, allocations: 0.5078 MB / 0.5335 GB, free: 7.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.105, allocations: 118.9 kB / 0.5336 GB, free: 7.402 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.1052, allocations: 118.2 kB / 0.5337 GB, free: 7.281 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1054, allocations: 326 kB / 0.534 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.1058, allocations: 169.2 kB / 0.5342 GB, free: 6.789 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007187/0.1065, allocations: 0.4942 MB / 0.5346 GB, free: 6.184 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.1076, allocations: 0.5154 MB / 0.5352 GB, free: 5.598 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1076, allocations: 0 / 0.5352 GB, free: 5.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001392/0.1089, allocations: 0.6331 MB / 0.5358 GB, free: 4.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.109, allocations: 8.688 kB / 0.5358 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.109, allocations: 8 kB / 0.5358 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.109, allocations: 12 kB / 0.5358 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.1095, allocations: 123.8 kB / 0.5359 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.1095, allocations: 11.98 kB / 0.5359 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.1101, allocations: 63.61 kB / 0.536 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.1101, allocations: 27.98 kB / 0.536 GB, free: 4.707 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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 0.000417/0.1105, allocations: 277.6 kB / 0.5363 GB, free: 4.426 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.1107, allocations: 103.4 kB / 0.5364 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1118, allocations: 488.8 kB / 0.5368 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.1119, allocations: 4 kB / 0.5368 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1119, allocations: 0 / 0.5368 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000867/0.1127, allocations: 466.4 kB / 0.5373 GB, free: 3.359 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.115, allocations: 1.163 MB / 0.5384 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.115, allocations: 0 / 0.5384 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1153, allocations: 80.05 kB / 0.5385 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1154, allocations: 4 kB / 0.5385 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.1154, allocations: 11.98 kB / 0.5385 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1154, allocations: 4 kB / 0.5385 GB, free: 2.047 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1154, allocations: 3.984 kB / 0.5385 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.117, allocations: 0.7661 MB / 0.5393 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.1173, allocations: 143.3 kB / 0.5394 GB, free: 1.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.1174, allocations: 8 kB / 0.5394 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.1178, allocations: 23.97 kB / 0.5394 GB, free: 1.074 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.1179, allocations: 31.89 kB / 0.5395 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.118, allocations: 19.98 kB / 0.5395 GB, free: 1.023 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008153/0.1188, allocations: 0.5498 MB / 0.54 GB, free: 492 kB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1188, allocations: 3.938 kB / 0.54 GB, free: 488 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.001046/0.1198, allocations: 359 kB / 0.5404 GB, free: 128 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006984/0.1205, allocations: 385.6 kB / 0.5407 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.1215, allocations: 405.6 kB / 0.5411 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1215, allocations: 0 / 0.5411 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.122, allocations: 184.7 kB / 0.5413 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.1242, allocations: 0.4943 MB / 0.5418 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.1269, allocations: 1.547 MB / 0.5433 GB, free: 13.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.1274, allocations: 452.6 kB / 0.5437 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000597/0.128, allocations: 178.2 kB / 0.5439 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1282, allocations: 80.41 kB / 0.544 GB, free: 12.38 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1282, allocations: 0 / 0.544 GB, free: 12.38 MB / 474.7 MB Notification: Performance of Templates: time 0.03495/0.1631, allocations: 18.98 MB / 0.5625 GB, free: 9.906 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.986515813972801]