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.001291/0.001291, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001478/0.001478, allocations: 169.5 kB / 22.46 MB, free: 5.359 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.002499/0.002499, allocations: 247.9 kB / 259.4 MB, free: 468 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 1.095/1.095, allocations: 138.4 MB / 454.3 MB, free: 2.047 MB / 366.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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.57e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3024/0.3024, allocations: 70.39 MB / 0.7155 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.3248, allocations: 17.59 MB / 0.7327 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/0.3289, allocations: 151.8 kB / 0.7329 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004136/0.333, allocations: 1.252 MB / 0.7341 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.3449, allocations: 3.977 MB / 0.738 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006453/0.3514, allocations: 2.226 MB / 0.7401 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.3621, allocations: 6.843 MB / 0.7468 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.3652, allocations: 1.577 MB / 0.7484 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007613/0.3728, allocations: 3.236 MB / 0.7515 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.3767, allocations: 1.591 MB / 0.7531 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006148/0.3773, allocations: 199.2 kB / 0.7533 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.3822, allocations: 1.371 MB / 0.7546 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.3833, allocations: 0.586 MB / 0.7552 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.3861, allocations: 0.8447 MB / 0.756 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.3942, allocations: 3.782 MB / 0.7597 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3942, allocations: 4 kB / 0.7597 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3942, allocations: 0 / 0.7597 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.215e-05/0.3943, allocations: 0 / 0.7597 GB, free: 13.13 MB / 0.5919 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.005546/0.3998, allocations: 2.684 MB / 0.7623 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3999, allocations: 9.344 kB / 0.7623 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.4006, allocations: 279.3 kB / 0.7626 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.4042, allocations: 1.959 MB / 0.7645 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.4043, allocations: 106.7 kB / 0.7646 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.4046, allocations: 144 kB / 0.7647 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.4075, allocations: 1.822 MB / 0.7665 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.4075, allocations: 7.984 kB / 0.7665 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.4077, allocations: 60 kB / 0.7666 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.4077, allocations: 36 kB / 0.7666 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.41, allocations: 1.122 MB / 0.7677 GB, free: 4.668 MB / 0.5919 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.007872/0.4179, allocations: 5.087 MB / 0.7727 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.419, allocations: 448.9 kB / 0.7731 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.4197, allocations: 313.4 kB / 0.7734 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/0.4201, allocations: 104.4 kB / 0.7735 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.4201, allocations: 46.98 kB / 0.7736 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.495e-06/0.4201, allocations: 0 / 0.7736 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002421/0.4225, allocations: 0.9439 MB / 0.7745 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4226, allocations: 59.91 kB / 0.7745 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.4246, allocations: 1.539 MB / 0.776 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.4247, allocations: 49.7 kB / 0.7761 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008327/0.4256, allocations: 0.959 MB / 0.777 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.4258, allocations: 222.2 kB / 0.7772 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.4261, allocations: 230.7 kB / 0.7775 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4263, allocations: 341.9 kB / 0.7778 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.427, allocations: 330.4 kB / 0.7781 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.4283, allocations: 0.9779 MB / 0.7791 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.4302, allocations: 1.009 MB / 0.78 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.4302, allocations: 4 kB / 0.78 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002904/0.4331, allocations: 1.2 MB / 0.7812 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4332, allocations: 12.11 kB / 0.7812 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.4332, allocations: 19.25 kB / 0.7812 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.4332, allocations: 16 kB / 0.7813 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.4343, allocations: 287.5 kB / 0.7815 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.4344, allocations: 19.94 kB / 0.7816 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.4357, allocations: 143.2 kB / 0.7817 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.4358, allocations: 51.98 kB / 0.7817 GB, free: 5.75 MB / 0.6075 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.0008541/0.4366, allocations: 437.9 kB / 0.7822 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.437, allocations: 178.9 kB / 0.7823 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.4389, allocations: 0.854 MB / 0.7832 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.439, allocations: 12 kB / 0.7832 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.439, allocations: 0 / 0.7832 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/0.4405, allocations: 0.8057 MB / 0.784 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.4449, allocations: 2.069 MB / 0.786 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.4449, allocations: 0 / 0.786 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/0.4458, allocations: 188 kB / 0.7862 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.4458, allocations: 4 kB / 0.7862 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.4459, allocations: 19.98 kB / 0.7862 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.4459, allocations: 7.938 kB / 0.7862 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.4459, allocations: 7.938 kB / 0.7862 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.4486, allocations: 1.325 MB / 0.7875 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/0.4493, allocations: 270.6 kB / 0.7877 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.4495, allocations: 23.88 kB / 0.7878 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.4504, allocations: 55.92 kB / 0.7878 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4505, allocations: 48.36 kB / 0.7879 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/0.4506, allocations: 39.97 kB / 0.7879 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001559/0.4522, allocations: 1.012 MB / 0.7889 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4522, allocations: 0 / 0.7889 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002361/0.4545, allocations: 0.6935 MB / 0.7896 GB, free: 13.57 MB / 0.6231 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.001293/0.4558, allocations: 0.6013 MB / 0.7902 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.4578, allocations: 0.7845 MB / 0.7909 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.4578, allocations: 0 / 0.7909 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/0.4586, allocations: 340 kB / 0.7913 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/0.4632, allocations: 0.9063 MB / 0.7921 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.4687, allocations: 2.971 MB / 0.795 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/0.4697, allocations: 0.8304 MB / 0.7959 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001283/0.4709, allocations: 343.4 kB / 0.7962 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.4713, allocations: 136.5 kB / 0.7963 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.4713, allocations: 0 / 0.7963 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of Templates: time 0.06518/0.5365, allocations: 36.22 MB / 0.8317 GB, free: 3.211 MB / 0.6544 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.150138717144728] Failed to read output from testmodel.py, exit status != 0: 0.5456097722053528 0.560448331 0.162865538 Calling exit ...