Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001236/0.001236, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001345/0.001345, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.002491/0.002491, allocations: 298.4 kB / 313.5 MB, free: 2.812 MB / 238.1 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 1.135/1.135, allocations: 180.6 MB / 0.5377 GB, free: 13.05 MB / 382.1 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 104.2 kB / 0.7408 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1631, allocations: 95.39 MB / 0.834 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04419/0.2073, allocations: 42.47 MB / 0.8754 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.2231, allocations: 10.45 MB / 0.8856 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.2249, allocations: 83.31 kB / 0.8857 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2267, allocations: 0.6599 MB / 0.8864 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.2317, allocations: 2.032 MB / 0.8883 GB, free: 252 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.2347, allocations: 1.233 MB / 0.8895 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004833/0.2395, allocations: 3.491 MB / 0.893 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.2409, allocations: 0.8184 MB / 0.8938 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.2439, allocations: 1.286 MB / 0.895 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2453, allocations: 0.9334 MB / 0.8959 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.2454, allocations: 103.9 kB / 0.896 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.2475, allocations: 0.9318 MB / 0.8969 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.2478, allocations: 290.8 kB / 0.8972 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007617/0.2485, allocations: 0.6415 MB / 0.8978 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.2515, allocations: 1.985 MB / 0.8998 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2515, allocations: 0 / 0.8998 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2515, allocations: 3.938 kB / 0.8998 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.2515, allocations: 3.938 kB / 0.8998 GB, free: 4.492 MB / 0.6387 GB 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.002402/0.2539, allocations: 1.477 MB / 0.9012 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2539, allocations: 9.344 kB / 0.9012 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.2543, allocations: 140.1 kB / 0.9014 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.2561, allocations: 1.048 MB / 0.9024 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.2561, allocations: 58 kB / 0.9024 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2562, allocations: 72 kB / 0.9025 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.2575, allocations: 0.7944 MB / 0.9033 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2576, allocations: 3.953 kB / 0.9033 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.2576, allocations: 28 kB / 0.9033 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.2577, allocations: 23.94 kB / 0.9033 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2587, allocations: 0.5633 MB / 0.9039 GB, free: 180 kB / 0.6387 GB 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.004063/0.2628, allocations: 3.48 MB / 0.9073 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.2633, allocations: 246.4 kB / 0.9075 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.2637, allocations: 164.8 kB / 0.9077 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.2639, allocations: 68.47 kB / 0.9078 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2639, allocations: 34.56 kB / 0.9078 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.264, allocations: 0 / 0.9078 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001133/0.2651, allocations: 0.5259 MB / 0.9083 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.2651, allocations: 51.41 kB / 0.9083 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2663, allocations: 0.9534 MB / 0.9093 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.2663, allocations: 33.7 kB / 0.9093 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.2668, allocations: 0.4965 MB / 0.9098 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2669, allocations: 123 kB / 0.9099 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.267, allocations: 118.2 kB / 0.91 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2672, allocations: 329.9 kB / 0.9103 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.2675, allocations: 165.2 kB / 0.9105 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.268, allocations: 351.8 kB / 0.9108 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.2689, allocations: 0.511 MB / 0.9113 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2689, allocations: 8 kB / 0.9113 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001123/0.27, allocations: 0.6176 MB / 0.9119 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.27, allocations: 8 kB / 0.9119 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.27, allocations: 7.984 kB / 0.912 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.2701, allocations: 8 kB / 0.912 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.2705, allocations: 132.3 kB / 0.9121 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.2705, allocations: 8 kB / 0.9121 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.2711, allocations: 83.48 kB / 0.9122 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.2711, allocations: 27.98 kB / 0.9122 GB, free: 7.211 MB / 0.6544 GB 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.0003695/0.2715, allocations: 282.4 kB / 0.9125 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.2716, allocations: 107.3 kB / 0.9126 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.2726, allocations: 0.4885 MB / 0.9131 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.2726, allocations: 4 kB / 0.9131 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2726, allocations: 0 / 0.9131 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007201/0.2734, allocations: 458.1 kB / 0.9135 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.2755, allocations: 1.335 MB / 0.9148 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2755, allocations: 8.156 kB / 0.9148 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.2758, allocations: 79.88 kB / 0.9149 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.2758, allocations: 7.938 kB / 0.9149 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2758, allocations: 8 kB / 0.9149 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2758, allocations: 0 / 0.9149 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2759, allocations: 4 kB / 0.9149 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2771, allocations: 0.7717 MB / 0.9157 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.2775, allocations: 163.1 kB / 0.9158 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.2776, allocations: 12 kB / 0.9158 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.278, allocations: 27.97 kB / 0.9158 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.2781, allocations: 27.89 kB / 0.9159 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.2781, allocations: 19.98 kB / 0.9159 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008671/0.279, allocations: 0.6666 MB / 0.9165 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 4 kB / 0.9165 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009428/0.28, allocations: 335.3 kB / 0.9169 GB, free: 2.289 MB / 0.6544 GB 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.000622/0.2806, allocations: 376.8 kB / 0.9172 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.2815, allocations: 412.3 kB / 0.9176 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2815, allocations: 0 / 0.9176 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.2818, allocations: 177 kB / 0.9178 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.2843, allocations: 0.6212 MB / 0.9184 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.2869, allocations: 1.657 MB / 0.92 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.2876, allocations: 1.028 MB / 0.921 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.2878, allocations: 87.34 kB / 0.9211 GB, free: 13.88 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.2878, allocations: 0 / 0.9211 GB, free: 13.88 MB / 0.67 GB Notification: Performance of Templates: time 0.02675/0.3145, allocations: 18.17 MB / 0.9389 GB, free: 11.87 MB / 0.6856 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.879561589099467] Failed to read output from testmodel.py, exit status != 0: 0.32237650896422565 0.337501523 0.082926781 Calling exit ...