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.001561/0.001561, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001423/0.001423, allocations: 219.5 kB / 23 MB, free: 4.914 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.002563/0.002563, allocations: 277.4 kB / 313.5 MB, free: 2.629 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.193/1.193, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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.002898/0.002898, allocations: 107.8 kB / 0.7407 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1649, allocations: 95.38 MB / 0.8339 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04378/0.2086, allocations: 38.38 MB / 0.8714 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.2237, allocations: 9.649 MB / 0.8808 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.2254, allocations: 83.31 kB / 0.8809 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.2271, allocations: 0.6366 MB / 0.8815 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.2321, allocations: 2.009 MB / 0.8834 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.2351, allocations: 1.209 MB / 0.8846 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0046/0.2397, allocations: 3.452 MB / 0.888 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.241, allocations: 0.8223 MB / 0.8888 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.2439, allocations: 1.287 MB / 0.8901 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.2452, allocations: 0.8982 MB / 0.8909 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.2454, allocations: 100 kB / 0.891 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.2471, allocations: 0.7172 MB / 0.8917 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.2474, allocations: 294.8 kB / 0.892 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.2479, allocations: 0.5133 MB / 0.8925 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.2505, allocations: 1.946 MB / 0.8944 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2505, allocations: 0 / 0.8944 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2505, allocations: 3.938 kB / 0.8944 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.2505, allocations: 0 / 0.8944 GB, free: 9.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.002356/0.2529, allocations: 1.473 MB / 0.8959 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2529, allocations: 21.88 kB / 0.8959 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.2532, allocations: 140.1 kB / 0.896 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.2551, allocations: 1.055 MB / 0.897 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.2551, allocations: 50 kB / 0.8971 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2552, allocations: 75.94 kB / 0.8972 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2566, allocations: 0.9372 MB / 0.8981 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.2567, allocations: 3.953 kB / 0.8981 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.2567, allocations: 32 kB / 0.8981 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.2568, allocations: 23.98 kB / 0.8981 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.2579, allocations: 0.5711 MB / 0.8987 GB, free: 4.977 MB / 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.003678/0.2616, allocations: 2.601 MB / 0.9012 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.2622, allocations: 238.4 kB / 0.9015 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.2625, allocations: 169.3 kB / 0.9016 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.2627, allocations: 63.89 kB / 0.9017 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.2628, allocations: 42.55 kB / 0.9017 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.2628, allocations: 0 / 0.9017 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001183/0.264, allocations: 0.5023 MB / 0.9022 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.264, allocations: 59.39 kB / 0.9023 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2652, allocations: 0.81 MB / 0.9031 GB, free: 384 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.2652, allocations: 33.7 kB / 0.9031 GB, free: 344 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.2657, allocations: 0.5117 MB / 0.9036 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2659, allocations: 115 kB / 0.9037 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.266, allocations: 118.2 kB / 0.9038 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2662, allocations: 325.9 kB / 0.9041 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2665, allocations: 169.2 kB / 0.9043 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.2672, allocations: 0.4981 MB / 0.9048 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.2681, allocations: 0.5109 MB / 0.9053 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2681, allocations: 0 / 0.9053 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001187/0.2692, allocations: 0.6058 MB / 0.9059 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2693, allocations: 8.688 kB / 0.9059 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2693, allocations: 11.92 kB / 0.9059 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2693, allocations: 12 kB / 0.9059 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.2697, allocations: 123.8 kB / 0.906 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.2698, allocations: 11.98 kB / 0.906 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.2703, allocations: 59.66 kB / 0.9061 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.2703, allocations: 27.98 kB / 0.9061 GB, free: 13.03 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.0003993/0.2707, allocations: 278.2 kB / 0.9064 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.2709, allocations: 95.39 kB / 0.9065 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.2719, allocations: 475.2 kB / 0.9069 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2719, allocations: 4 kB / 0.9069 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2719, allocations: 0 / 0.9069 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008541/0.2727, allocations: 466.1 kB / 0.9074 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.2748, allocations: 1.156 MB / 0.9085 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2748, allocations: 15.92 kB / 0.9085 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.2751, allocations: 76.05 kB / 0.9086 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.2751, allocations: 4 kB / 0.9086 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.2751, allocations: 11.98 kB / 0.9086 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2752, allocations: 3.938 kB / 0.9086 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2752, allocations: 7.938 kB / 0.9086 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.2765, allocations: 0.77 MB / 0.9094 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.2768, allocations: 131.4 kB / 0.9095 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.2769, allocations: 7.984 kB / 0.9095 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.2773, allocations: 31.91 kB / 0.9095 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.2774, allocations: 23.95 kB / 0.9095 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.2775, allocations: 19.98 kB / 0.9096 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007216/0.2782, allocations: 0.5536 MB / 0.9101 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 0.9101 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001027/0.2792, allocations: 363 kB / 0.9104 GB, free: 8.457 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.0006146/0.2798, allocations: 384.6 kB / 0.9108 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.2807, allocations: 397.1 kB / 0.9112 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2807, allocations: 0 / 0.9112 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.2811, allocations: 183.7 kB / 0.9114 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.2834, allocations: 472 kB / 0.9118 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.286, allocations: 1.63 MB / 0.9134 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.2865, allocations: 444.6 kB / 0.9138 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2867, allocations: 79.39 kB / 0.9139 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.2867, allocations: 3.938 kB / 0.9139 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of Templates: time 0.02563/0.3123, allocations: 16.89 MB / 0.9304 GB, free: 4.09 MB / 0.67 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.831460755784065] Failed to read output from testmodel.py, exit status != 0: 0.31997935893014073 0.335119369 0.08145102 Calling exit ...