Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001457/0.001457, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001563/0.001563, allocations: 173 kB / 23.02 MB, free: 1.547 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.9776/0.9776, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.002087/0.002087, allocations: 243.9 kB / 260.2 MB, free: 12.84 MB / 250.7 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 0.7024/0.7024, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.7 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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.376e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01557/0.0156, allocations: 21.12 MB / 0.5758 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.0285, allocations: 8.262 MB / 0.5838 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.03215, allocations: 154.7 kB / 0.584 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.03413, allocations: 0.6707 MB / 0.5846 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.03928, allocations: 2.451 MB / 0.587 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.04282, allocations: 1.926 MB / 0.5889 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00683/0.04965, allocations: 6.636 MB / 0.5954 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.05205, allocations: 1.643 MB / 0.597 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/0.05775, allocations: 3.153 MB / 0.6001 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.06081, allocations: 1.624 MB / 0.6017 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000597/0.0614, allocations: 192 kB / 0.6018 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.06269, allocations: 399.5 kB / 0.6022 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.193/0.2557, allocations: 0.5794 MB / 0.6028 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.258, allocations: 0.8373 MB / 0.6036 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.2613, allocations: 1.905 MB / 0.6055 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.2613, allocations: 0.7188 kB / 0.6055 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2613, allocations: 0 / 0.6055 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.028e-05/0.2614, allocations: 3.547 kB / 0.6055 GB, free: 68.15 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002831/0.2642, allocations: 2.623 MB / 0.608 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2642, allocations: 10.88 kB / 0.608 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006156/0.2649, allocations: 406.6 kB / 0.6084 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.2668, allocations: 1.756 MB / 0.6101 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.2668, allocations: 104.1 kB / 0.6102 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.267, allocations: 159.8 kB / 0.6104 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2684, allocations: 1.409 MB / 0.6118 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.2685, allocations: 3.875 kB / 0.6118 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.2686, allocations: 57.66 kB / 0.6118 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.2686, allocations: 41.97 kB / 0.6119 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.2694, allocations: 498.8 kB / 0.6123 GB, free: 65.54 MB / 0.5105 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.004546/0.2739, allocations: 5.681 MB / 0.6179 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.2744, allocations: 258.6 kB / 0.6181 GB, free: 62.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.2746, allocations: 138.3 kB / 0.6183 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.2747, allocations: 36.09 kB / 0.6183 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.2748, allocations: 43.89 kB / 0.6183 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 3.176e-06/0.2748, allocations: 5.453 kB / 0.6183 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.000968/0.2757, allocations: 0.5407 MB / 0.6189 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.2757, allocations: 61.2 kB / 0.6189 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.2771, allocations: 1.354 MB / 0.6203 GB, free: 62.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.2772, allocations: 42.45 kB / 0.6203 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.2777, allocations: 1.027 MB / 0.6213 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.2778, allocations: 225.2 kB / 0.6215 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.278, allocations: 232.7 kB / 0.6217 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.2781, allocations: 0.5194 MB / 0.6222 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.2783, allocations: 128.4 kB / 0.6224 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.2788, allocations: 0.9093 MB / 0.6233 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.2794, allocations: 0.7652 MB / 0.624 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.2794, allocations: 3.078 kB / 0.624 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001167/0.2806, allocations: 0.8637 MB / 0.6248 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.2806, allocations: 13.22 kB / 0.6249 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.2806, allocations: 11.23 kB / 0.6249 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.2806, allocations: 18.84 kB / 0.6249 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.2812, allocations: 259.8 kB / 0.6251 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.2812, allocations: 25.28 kB / 0.6252 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.2819, allocations: 120.7 kB / 0.6253 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.282, allocations: 50.5 kB / 0.6253 GB, free: 59.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0003675/0.2823, allocations: 230.2 kB / 0.6255 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.2826, allocations: 193.7 kB / 0.6257 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007604/0.2833, allocations: 0.5325 MB / 0.6262 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.2833, allocations: 13.91 kB / 0.6263 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2833, allocations: 0 / 0.6263 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004214/0.2838, allocations: 493.6 kB / 0.6267 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.2864, allocations: 1.79 MB / 0.6285 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2864, allocations: 6.406 kB / 0.6285 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.2867, allocations: 149 kB / 0.6286 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2867, allocations: 5.031 kB / 0.6286 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.2868, allocations: 22.42 kB / 0.6287 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.2868, allocations: 5.609 kB / 0.6287 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2868, allocations: 2.562 kB / 0.6287 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2878, allocations: 0.8566 MB / 0.6295 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.2883, allocations: 267.1 kB / 0.6298 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.2884, allocations: 13.92 kB / 0.6298 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.2889, allocations: 48.59 kB / 0.6298 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.289, allocations: 53.23 kB / 0.6299 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.289, allocations: 37.33 kB / 0.6299 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009083/0.2899, allocations: 0.8019 MB / 0.6307 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2899, allocations: 0 / 0.6307 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001219/0.2912, allocations: 0.5191 MB / 0.6312 GB, free: 57.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003679/0.2915, allocations: 202.9 kB / 0.6314 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.2923, allocations: 493.6 kB / 0.6319 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.2924, allocations: 2.219 kB / 0.6319 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.2926, allocations: 198.2 kB / 0.632 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.2951, allocations: 0.9424 MB / 0.633 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.299, allocations: 2.787 MB / 0.6357 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2993, allocations: 340.5 kB / 0.636 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001032/0.3003, allocations: 322.7 kB / 0.6363 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.3006, allocations: 133.5 kB / 0.6364 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.244e-06/0.3006, allocations: 0 / 0.6364 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.03747/0.338, allocations: 33.37 MB / 0.669 GB, free: 38.03 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.670571038965136]