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: 110.2 kB / 19.69 MB, free: 2.254 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.001584/0.001584, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 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.002411/0.002411, allocations: 282.2 kB / 313.5 MB, free: 2.832 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.129/1.129, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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.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.002775/0.002775, allocations: 107.7 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.162, allocations: 95.38 MB / 0.834 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08155/0.2435, allocations: 78.78 MB / 0.9109 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02697/0.2705, allocations: 18.95 MB / 0.9294 GB, free: 6.082 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003841/0.2743, allocations: 158.6 kB / 0.9295 GB, free: 5.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.278, allocations: 1.304 MB / 0.9308 GB, free: 4.613 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009689/0.2877, allocations: 3.903 MB / 0.9346 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.2928, allocations: 2.189 MB / 0.9368 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00902/0.3019, allocations: 6.843 MB / 0.9435 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.3046, allocations: 1.599 MB / 0.945 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/0.3098, allocations: 2.407 MB / 0.9474 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/0.313, allocations: 1.867 MB / 0.9492 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005423/0.3136, allocations: 200 kB / 0.9494 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.3179, allocations: 1.774 MB / 0.9511 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.3187, allocations: 0.5602 MB / 0.9517 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.3208, allocations: 1.256 MB / 0.9529 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.3274, allocations: 3.85 MB / 0.9566 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3274, allocations: 0 / 0.9566 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3274, allocations: 0 / 0.9566 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.009e-05/0.3275, allocations: 0 / 0.9566 GB, free: 10.08 MB / 0.7012 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.005265/0.3327, allocations: 2.703 MB / 0.9593 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3328, allocations: 13.34 kB / 0.9593 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.3335, allocations: 287.3 kB / 0.9596 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.3369, allocations: 1.959 MB / 0.9615 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.337, allocations: 102.7 kB / 0.9616 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.3372, allocations: 148 kB / 0.9617 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.3398, allocations: 1.524 MB / 0.9632 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.3398, allocations: 3.953 kB / 0.9632 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3399, allocations: 63.94 kB / 0.9633 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.34, allocations: 36 kB / 0.9633 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.3421, allocations: 1.126 MB / 0.9644 GB, free: 1.949 MB / 0.7012 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.008607/0.3507, allocations: 7.521 MB / 0.9718 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.3517, allocations: 452.8 kB / 0.9722 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.3523, allocations: 317.2 kB / 0.9725 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.3527, allocations: 112.4 kB / 0.9726 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.3527, allocations: 43.09 kB / 0.9726 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.004e-06/0.3527, allocations: 0 / 0.9726 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002195/0.3549, allocations: 0.976 MB / 0.9736 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.355, allocations: 55.91 kB / 0.9736 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.3572, allocations: 1.799 MB / 0.9754 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.3573, allocations: 41.7 kB / 0.9754 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008288/0.3581, allocations: 0.9451 MB / 0.9764 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3584, allocations: 226.1 kB / 0.9766 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.3587, allocations: 230.8 kB / 0.9768 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3588, allocations: 345.9 kB / 0.9771 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.3595, allocations: 330.4 kB / 0.9774 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/0.3605, allocations: 0.6899 MB / 0.9781 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.3621, allocations: 1.013 MB / 0.9791 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3621, allocations: 8 kB / 0.9791 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002226/0.3643, allocations: 1.226 MB / 0.9803 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3644, allocations: 8 kB / 0.9803 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3644, allocations: 12 kB / 0.9803 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.3644, allocations: 16 kB / 0.9803 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.3654, allocations: 296.2 kB / 0.9806 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/0.3654, allocations: 23.92 kB / 0.9807 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3664, allocations: 154.9 kB / 0.9808 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.3665, allocations: 51.98 kB / 0.9809 GB, free: 140 kB / 0.7169 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.3434/0.7099, allocations: 446.8 kB / 0.9813 GB, free: 141.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005034/0.7104, allocations: 202 kB / 0.9815 GB, free: 141.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.7121, allocations: 0.8727 MB / 0.9823 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7121, allocations: 8.062 kB / 0.9823 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7121, allocations: 0 / 0.9823 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/0.7133, allocations: 0.8143 MB / 0.9831 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.7168, allocations: 2.433 MB / 0.9855 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7169, allocations: 2.656 kB / 0.9855 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/0.7176, allocations: 178.3 kB / 0.9857 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.7176, allocations: 4.625 kB / 0.9857 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.7177, allocations: 18.09 kB / 0.9857 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.7177, allocations: 8.469 kB / 0.9857 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.7177, allocations: 3.781 kB / 0.9857 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.7198, allocations: 1.37 MB / 0.987 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.7204, allocations: 297.6 kB / 0.9873 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.7206, allocations: 11.78 kB / 0.9873 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.7214, allocations: 69.64 kB / 0.9874 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7215, allocations: 52.42 kB / 0.9875 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.7216, allocations: 34.34 kB / 0.9875 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001362/0.723, allocations: 1.245 MB / 0.9887 GB, free: 139 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.723, allocations: 0 / 0.9887 GB, free: 139 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001388/0.7244, allocations: 0.6607 MB / 0.9893 GB, free: 138.9 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.0007348/0.7251, allocations: 0.5894 MB / 0.9899 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.7265, allocations: 0.7834 MB / 0.9907 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7265, allocations: 2.406 kB / 0.9907 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.7272, allocations: 338.1 kB / 0.991 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/0.7316, allocations: 1.194 MB / 0.9922 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.7363, allocations: 3.163 MB / 0.9953 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.7373, allocations: 1.388 MB / 0.9966 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.7377, allocations: 152 kB / 0.9968 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/0.7377, allocations: 2.516 kB / 0.9968 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.0386/0.7763, allocations: 35.24 MB / 1.031 GB, free: 110.2 MB / 0.7169 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: 13.621513772988692] Failed to read output from testmodel.py, exit status != 0: 0.7829596439842135 0.792223388 0.46261741500000003 Calling exit ...