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.001551/0.001551, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001728/0.001728, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9198/0.9198, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.001484/0.001484, allocations: 223.9 kB / 260.2 MB, free: 13.01 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.6741/0.6741, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.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.733e-06/1.733e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.502e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3016/0.3016, allocations: 70.39 MB / 0.7163 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.3206, allocations: 17.59 MB / 0.7334 GB, free: 13.86 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.3246, allocations: 152.6 kB / 0.7336 GB, free: 13.78 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.3283, allocations: 1.244 MB / 0.7348 GB, free: 12.74 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.009542/0.3378, allocations: 3.973 MB / 0.7387 GB, free: 9.586 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.3427, allocations: 2.232 MB / 0.7409 GB, free: 7.852 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008591/0.3513, allocations: 6.848 MB / 0.7476 GB, free: 3.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.3539, allocations: 1.578 MB / 0.7491 GB, free: 2.543 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/0.3607, allocations: 3.233 MB / 0.7523 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.3635, allocations: 1.587 MB / 0.7538 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.3638, allocations: 200 kB / 0.754 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.3671, allocations: 1.367 MB / 0.7553 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.3676, allocations: 0.5912 MB / 0.7559 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.3688, allocations: 0.8418 MB / 0.7567 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.3746, allocations: 3.782 MB / 0.7604 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3746, allocations: 0 / 0.7604 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3746, allocations: 0 / 0.7604 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.477e-05/0.3747, allocations: 0 / 0.7604 GB, free: 7.367 MB / 0.5886 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.003331/0.378, allocations: 2.687 MB / 0.763 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3781, allocations: 9.938 kB / 0.7631 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004905/0.3785, allocations: 275.3 kB / 0.7633 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.3809, allocations: 1.953 MB / 0.7652 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.3809, allocations: 106.7 kB / 0.7653 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3811, allocations: 148 kB / 0.7655 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.3829, allocations: 1.827 MB / 0.7673 GB, free: 132 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.3829, allocations: 7.891 kB / 0.7673 GB, free: 124 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.383, allocations: 60 kB / 0.7673 GB, free: 64 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.383, allocations: 39.28 kB / 0.7674 GB, free: 28 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.3843, allocations: 1.122 MB / 0.7684 GB, free: 14.9 MB / 0.6042 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.004895/0.3892, allocations: 5.082 MB / 0.7734 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.3899, allocations: 459.8 kB / 0.7738 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.3902, allocations: 310.9 kB / 0.7741 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.3905, allocations: 112.4 kB / 0.7743 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3905, allocations: 39.06 kB / 0.7743 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 4.108e-06/0.3905, allocations: 0 / 0.7743 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.001345/0.3919, allocations: 0.9488 MB / 0.7752 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3919, allocations: 63.89 kB / 0.7753 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.3932, allocations: 1.535 MB / 0.7768 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.3932, allocations: 45.7 kB / 0.7768 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.3937, allocations: 0.9552 MB / 0.7778 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.3939, allocations: 230.1 kB / 0.778 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.3941, allocations: 218.8 kB / 0.7782 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3943, allocations: 349.9 kB / 0.7785 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.3947, allocations: 330.4 kB / 0.7788 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.3954, allocations: 0.9624 MB / 0.7798 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.3964, allocations: 1.017 MB / 0.7808 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3964, allocations: 8 kB / 0.7808 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001498/0.3979, allocations: 1.203 MB / 0.7819 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.398, allocations: 8 kB / 0.782 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.398, allocations: 12 kB / 0.782 GB, free: 496 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.398, allocations: 16 kB / 0.782 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.3985, allocations: 288.2 kB / 0.7823 GB, free: 192 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.3986, allocations: 19.94 kB / 0.7823 GB, free: 172 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.3992, allocations: 143.1 kB / 0.7824 GB, free: 28 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.3993, allocations: 52.06 kB / 0.7825 GB, free: 15.97 MB / 0.6198 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.0005949/0.3999, allocations: 438.6 kB / 0.7829 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.4001, allocations: 182.8 kB / 0.7831 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.4012, allocations: 0.8547 MB / 0.7839 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4012, allocations: 8 kB / 0.7839 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4012, allocations: 1.5 kB / 0.7839 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007461/0.4019, allocations: 0.8095 MB / 0.7847 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.4044, allocations: 2.065 MB / 0.7867 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4044, allocations: 0 / 0.7867 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.4048, allocations: 184 kB / 0.7869 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4048, allocations: 8 kB / 0.7869 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.4048, allocations: 20.86 kB / 0.7869 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4048, allocations: 4 kB / 0.7869 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4048, allocations: 11.88 kB / 0.7869 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.4062, allocations: 1.321 MB / 0.7882 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.4066, allocations: 258.7 kB / 0.7885 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4067, allocations: 16 kB / 0.7885 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.4072, allocations: 65.36 kB / 0.7885 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.4073, allocations: 61.72 kB / 0.7886 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.4073, allocations: 35.97 kB / 0.7886 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008911/0.4082, allocations: 1.012 MB / 0.7896 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4082, allocations: 0 / 0.7896 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001314/0.4095, allocations: 0.6935 MB / 0.7903 GB, free: 7.801 MB / 0.6198 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.0007353/0.4102, allocations: 0.6048 MB / 0.7909 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.4113, allocations: 0.7776 MB / 0.7916 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4113, allocations: 4.062 kB / 0.7916 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.4117, allocations: 338.5 kB / 0.792 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.4137, allocations: 0.9182 MB / 0.7929 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.4171, allocations: 2.999 MB / 0.7958 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.4176, allocations: 0.8096 MB / 0.7966 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.4179, allocations: 140.4 kB / 0.7967 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/0.4179, allocations: 4 kB / 0.7967 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of Templates: time 0.03271/0.4506, allocations: 32.73 MB / 0.8287 GB, free: 0.7578 MB / 0.6511 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.616945694200695] Failed to read output from testmodel.py, exit status != 0: 0.4566947827115655 0.46706095200000003 0.089833935 Calling exit ...