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.001781/0.001781, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002318/0.002318, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.002301/0.002301, allocations: 237.2 kB / 260 MB, free: 448 kB / 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 0.8856/0.8856, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.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: 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.002962/0.002962, allocations: 99.84 kB / 0.6473 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4488, allocations: 95.35 MB / 0.7405 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07242/0.5212, allocations: 70.97 MB / 0.8098 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.549, allocations: 17.57 MB / 0.8269 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.5526, allocations: 150.7 kB / 0.8271 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/0.5559, allocations: 1.242 MB / 0.8283 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009871/0.5658, allocations: 3.869 MB / 0.8321 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.5709, allocations: 2.139 MB / 0.8342 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009484/0.5804, allocations: 6.796 MB / 0.8408 GB, free: 11.74 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.583, allocations: 1.58 MB / 0.8423 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005042/0.588, allocations: 2.424 MB / 0.8447 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.5909, allocations: 1.783 MB / 0.8464 GB, free: 5.898 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.5912, allocations: 200 kB / 0.8466 GB, free: 5.703 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.5944, allocations: 1.345 MB / 0.8479 GB, free: 4.355 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.595, allocations: 0.5718 MB / 0.8485 GB, free: 3.781 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.5963, allocations: 1.003 MB / 0.8495 GB, free: 2.773 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005374/0.6017, allocations: 3.784 MB / 0.8532 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.6017, allocations: 4 kB / 0.8532 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6017, allocations: 0 / 0.8532 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.6017, allocations: 3.938 kB / 0.8532 GB, free: 14.97 MB / 0.6856 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.004412/0.6061, allocations: 2.707 MB / 0.8558 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6062, allocations: 13.34 kB / 0.8558 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007066/0.6069, allocations: 275.3 kB / 0.8561 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.6103, allocations: 1.96 MB / 0.858 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.6104, allocations: 106.7 kB / 0.8581 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.6106, allocations: 144 kB / 0.8583 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.6135, allocations: 1.821 MB / 0.86 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.6135, allocations: 11.89 kB / 0.8601 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6137, allocations: 56 kB / 0.8601 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.6137, allocations: 44 kB / 0.8601 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.616, allocations: 1.122 MB / 0.8612 GB, free: 6.477 MB / 0.6856 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.007209/0.6232, allocations: 5.085 MB / 0.8662 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6242, allocations: 445 kB / 0.8666 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.6249, allocations: 315.4 kB / 0.8669 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/0.6253, allocations: 108.4 kB / 0.867 GB, free: 400 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6253, allocations: 43.16 kB / 0.8671 GB, free: 348 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.6253, allocations: 7.938 kB / 0.8671 GB, free: 340 kB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.002436/0.6277, allocations: 0.941 MB / 0.868 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.6278, allocations: 59.91 kB / 0.8681 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.6298, allocations: 1.531 MB / 0.8696 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.6299, allocations: 45.7 kB / 0.8696 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008581/0.6308, allocations: 0.959 MB / 0.8705 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.631, allocations: 230.1 kB / 0.8708 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.6313, allocations: 222.8 kB / 0.871 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6315, allocations: 349.9 kB / 0.8713 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.6322, allocations: 334.4 kB / 0.8716 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.6334, allocations: 0.9701 MB / 0.8726 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.6352, allocations: 1.013 MB / 0.8736 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.6352, allocations: 4 kB / 0.8736 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00234/0.6375, allocations: 1.203 MB / 0.8747 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6376, allocations: 8 kB / 0.8747 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.6376, allocations: 8 kB / 0.8748 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.6376, allocations: 16 kB / 0.8748 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6387, allocations: 295.8 kB / 0.875 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/0.6387, allocations: 27.91 kB / 0.8751 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6397, allocations: 135.2 kB / 0.8752 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/0.6398, allocations: 48 kB / 0.8753 GB, free: 7.57 MB / 0.7012 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.0007309/0.6405, allocations: 445.3 kB / 0.8757 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.6408, allocations: 174.9 kB / 0.8758 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.6427, allocations: 0.8577 MB / 0.8767 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6427, allocations: 11.98 kB / 0.8767 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6427, allocations: 8 kB / 0.8767 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/0.6441, allocations: 0.794 MB / 0.8775 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.648, allocations: 2.084 MB / 0.8795 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.648, allocations: 4 kB / 0.8795 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.6488, allocations: 183.7 kB / 0.8797 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.6488, allocations: 7.938 kB / 0.8797 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.6489, allocations: 19.94 kB / 0.8797 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6489, allocations: 8.062 kB / 0.8797 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6489, allocations: 3.938 kB / 0.8797 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.6514, allocations: 1.329 MB / 0.881 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/0.652, allocations: 262.7 kB / 0.8813 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.6522, allocations: 15.94 kB / 0.8813 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/0.653, allocations: 59.92 kB / 0.8813 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6532, allocations: 56.41 kB / 0.8814 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.6532, allocations: 31.97 kB / 0.8814 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001471/0.6547, allocations: 1.016 MB / 0.8824 GB, free: 80 kB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.6547, allocations: 0 / 0.8824 GB, free: 80 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001806/0.6565, allocations: 0.6896 MB / 0.8831 GB, free: 15.39 MB / 0.7169 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.0009643/0.6575, allocations: 0.5863 MB / 0.8837 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.6592, allocations: 0.7854 MB / 0.8844 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6592, allocations: 3.938 kB / 0.8844 GB, free: 14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.66, allocations: 339.1 kB / 0.8848 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/0.6638, allocations: 0.9181 MB / 0.8857 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.6685, allocations: 3.066 MB / 0.8887 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008973/0.6694, allocations: 0.8304 MB / 0.8895 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001035/0.6704, allocations: 336.4 kB / 0.8898 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.6707, allocations: 132.5 kB / 0.8899 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.6707, allocations: 0 / 0.8899 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.05948/0.7302, allocations: 36.42 MB / 0.9255 GB, free: 4.699 MB / 0.7481 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.025585511000827] Failed to read output from testmodel.py, exit status != 0: 0.739125735941343 0.752385953 0.147646452 Calling exit ...