Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001995/0.001995, allocations: 105 kB / 20.44 MB, free: 1.504 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.002432/0.002432, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9607/0.9607, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: IBPSA 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.002363/0.002363, allocations: 70.83 kB / 0.6425 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1969, allocations: 89.18 MB / 0.7296 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4872/0.6841, allocations: 42.5 MB / 0.7711 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.6991, allocations: 10.46 MB / 0.7813 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.7017, allocations: 80.03 kB / 0.7814 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.7039, allocations: 0.673 MB / 0.782 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006861/0.7108, allocations: 2.024 MB / 0.784 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.7153, allocations: 1.235 MB / 0.7852 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007559/0.7229, allocations: 3.488 MB / 0.7886 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.7254, allocations: 0.8221 MB / 0.7894 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005749/0.7312, allocations: 1.476 MB / 0.7909 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.734, allocations: 0.924 MB / 0.7918 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006013/0.7346, allocations: 99.88 kB / 0.7919 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.7388, allocations: 0.9389 MB / 0.7928 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008542/0.7396, allocations: 296.5 kB / 0.7931 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.7418, allocations: 0.6305 MB / 0.7937 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.7473, allocations: 1.986 MB / 0.7956 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.7473, allocations: 0.6094 kB / 0.7956 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7473, allocations: 0 / 0.7956 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.532e-05/0.7473, allocations: 1.375 kB / 0.7956 GB, free: 3.75 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004387/0.7517, allocations: 1.489 MB / 0.7971 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7518, allocations: 9.703 kB / 0.7971 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007487/0.7525, allocations: 143.9 kB / 0.7972 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.7553, allocations: 1.058 MB / 0.7983 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.7553, allocations: 55.47 kB / 0.7983 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.7555, allocations: 69.06 kB / 0.7984 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.7572, allocations: 0.789 MB / 0.7991 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.7572, allocations: 5.016 kB / 0.7991 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.7573, allocations: 30.66 kB / 0.7992 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.7574, allocations: 26.11 kB / 0.7992 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.7586, allocations: 0.5726 MB / 0.7998 GB, free: 1.465 MB / 0.5762 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.005177/0.7638, allocations: 3.633 MB / 0.8033 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.7644, allocations: 253.2 kB / 0.8036 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.7648, allocations: 161.9 kB / 0.8037 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.7651, allocations: 60.03 kB / 0.8038 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.7651, allocations: 37.34 kB / 0.8038 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.006e-06/0.7651, allocations: 4 kB / 0.8038 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001513/0.7666, allocations: 0.5165 MB / 0.8043 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.7667, allocations: 55.38 kB / 0.8044 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.7683, allocations: 0.9576 MB / 0.8053 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.7684, allocations: 31.98 kB / 0.8053 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.7689, allocations: 0.5042 MB / 0.8058 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7691, allocations: 118.3 kB / 0.8059 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.7693, allocations: 119.6 kB / 0.806 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7695, allocations: 324.6 kB / 0.8064 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.7699, allocations: 164.1 kB / 0.8065 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.7705, allocations: 352.4 kB / 0.8068 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.7714, allocations: 0.5208 MB / 0.8074 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7714, allocations: 2.25 kB / 0.8074 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001424/0.7728, allocations: 0.6163 MB / 0.808 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.7728, allocations: 9.922 kB / 0.808 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7728, allocations: 5.344 kB / 0.808 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.7729, allocations: 11.47 kB / 0.808 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.7733, allocations: 127.2 kB / 0.8081 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.7734, allocations: 8 kB / 0.8081 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.7742, allocations: 91.56 kB / 0.8082 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.7742, allocations: 27.47 kB / 0.8082 GB, free: 11.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0005321/0.7748, allocations: 276.4 kB / 0.8085 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.775, allocations: 103.8 kB / 0.8086 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.7761, allocations: 486 kB / 0.8091 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.7761, allocations: 8.156 kB / 0.8091 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7761, allocations: 0 / 0.8091 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/0.7769, allocations: 464.2 kB / 0.8095 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.7796, allocations: 1.348 MB / 0.8108 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.7796, allocations: 1.5 kB / 0.8108 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.78, allocations: 76.41 kB / 0.8109 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.78, allocations: 2.719 kB / 0.8109 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.78, allocations: 8.344 kB / 0.8109 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.78, allocations: 2.688 kB / 0.8109 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.78, allocations: 3.094 kB / 0.8109 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.7816, allocations: 0.7948 MB / 0.8117 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.7821, allocations: 150.4 kB / 0.8118 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.7823, allocations: 12.38 kB / 0.8118 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.7828, allocations: 25.03 kB / 0.8119 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.7829, allocations: 30.06 kB / 0.8119 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.783, allocations: 24.39 kB / 0.8119 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001184/0.7842, allocations: 0.6617 MB / 0.8126 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7842, allocations: 0 / 0.8126 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00164/0.7858, allocations: 346.7 kB / 0.8129 GB, free: 9.348 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008876/0.7867, allocations: 370.1 kB / 0.8132 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.7878, allocations: 431.5 kB / 0.8137 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7878, allocations: 1.062 kB / 0.8137 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.7882, allocations: 174.4 kB / 0.8138 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.7914, allocations: 0.6197 MB / 0.8144 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.7948, allocations: 1.652 MB / 0.816 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.7956, allocations: 1.034 MB / 0.8171 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.7959, allocations: 83.33 kB / 0.8171 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of SimCode: time 1.232e-06/0.7959, allocations: 0 / 0.8171 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of Templates: time 0.03524/0.8311, allocations: 18.19 MB / 0.8349 GB, free: 10.81 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.734269194072112] Failed to read output from testmodel.py, exit status != 0: 0.8414194330107421 0.861777416 0.109982749 Calling exit ...