Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001218/0.001218, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001313/0.001313, allocations: 161.6 kB / 23.01 MB, free: 4.602 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.369/1.369, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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.002491/0.002491, allocations: 238.2 kB / 260 MB, free: 452 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.8914/0.8914, allocations: 138.5 MB / 455 MB, free: 15.07 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [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.002881/0.002881, allocations: 99.84 kB / 0.6474 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4205, allocations: 95.34 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03634/0.4569, allocations: 38.39 MB / 0.7779 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.4724, allocations: 9.663 MB / 0.7874 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.4743, allocations: 78.53 kB / 0.7875 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.4761, allocations: 0.6391 MB / 0.7881 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.4815, allocations: 2.01 MB / 0.79 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.4848, allocations: 1.211 MB / 0.7912 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.4897, allocations: 3.456 MB / 0.7946 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.4911, allocations: 0.8075 MB / 0.7954 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.4943, allocations: 1.299 MB / 0.7967 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.496, allocations: 0.8895 MB / 0.7975 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.4961, allocations: 100.2 kB / 0.7976 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.498, allocations: 0.7191 MB / 0.7983 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.4983, allocations: 291.7 kB / 0.7986 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.499, allocations: 0.5105 MB / 0.7991 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.5018, allocations: 1.951 MB / 0.801 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5018, allocations: 0 / 0.801 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5018, allocations: 0 / 0.801 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.5018, allocations: 3.938 kB / 0.801 GB, free: 4.73 MB / 0.6231 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.002405/0.5042, allocations: 1.477 MB / 0.8025 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5042, allocations: 13.34 kB / 0.8025 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.5046, allocations: 148 kB / 0.8026 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.5064, allocations: 1.044 MB / 0.8036 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.5064, allocations: 58 kB / 0.8037 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5066, allocations: 72 kB / 0.8037 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.508, allocations: 0.9372 MB / 0.8047 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.5081, allocations: 3.953 kB / 0.8047 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.5081, allocations: 35.98 kB / 0.8047 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.5082, allocations: 23.98 kB / 0.8047 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.5093, allocations: 0.5672 MB / 0.8053 GB, free: 220 kB / 0.6231 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.00391/0.5132, allocations: 2.606 MB / 0.8078 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.5138, allocations: 238.4 kB / 0.8081 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.5142, allocations: 168.8 kB / 0.8082 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.5144, allocations: 60.48 kB / 0.8083 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5145, allocations: 34.56 kB / 0.8083 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/0.5145, allocations: 3.938 kB / 0.8083 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001235/0.5157, allocations: 0.5099 MB / 0.8088 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.5158, allocations: 55.41 kB / 0.8089 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.5168, allocations: 0.8099 MB / 0.8096 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.5168, allocations: 37.7 kB / 0.8097 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.5172, allocations: 0.5116 MB / 0.8102 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5173, allocations: 111.1 kB / 0.8103 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.5175, allocations: 118.2 kB / 0.8104 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5177, allocations: 329.9 kB / 0.8107 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.518, allocations: 165.2 kB / 0.8109 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.5186, allocations: 0.4981 MB / 0.8114 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.5195, allocations: 0.5109 MB / 0.8119 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.5195, allocations: 4 kB / 0.8119 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001146/0.5206, allocations: 0.6058 MB / 0.8125 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5206, allocations: 8.688 kB / 0.8125 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5207, allocations: 4 kB / 0.8125 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5207, allocations: 15.94 kB / 0.8125 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.5211, allocations: 119.8 kB / 0.8126 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.5211, allocations: 11.98 kB / 0.8126 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.5216, allocations: 63.59 kB / 0.8127 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.5217, allocations: 27.98 kB / 0.8127 GB, free: 8.273 MB / 0.6387 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.0004029/0.5221, allocations: 274.7 kB / 0.813 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.5222, allocations: 95.39 kB / 0.813 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5232, allocations: 489.8 kB / 0.8135 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5233, allocations: 4 kB / 0.8135 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5233, allocations: 3.938 kB / 0.8135 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007756/0.524, allocations: 461.8 kB / 0.814 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.5261, allocations: 1.158 MB / 0.8151 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5261, allocations: 7.984 kB / 0.8151 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.5265, allocations: 80.05 kB / 0.8152 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.5265, allocations: 4 kB / 0.8152 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5265, allocations: 8 kB / 0.8152 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5265, allocations: 3.938 kB / 0.8152 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5265, allocations: 4 kB / 0.8152 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.5278, allocations: 0.7619 MB / 0.8159 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.5281, allocations: 135.3 kB / 0.8161 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.5282, allocations: 16.05 kB / 0.8161 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.5287, allocations: 35.91 kB / 0.8161 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.5287, allocations: 23.95 kB / 0.8161 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.5288, allocations: 15.98 kB / 0.8162 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007271/0.5295, allocations: 0.5537 MB / 0.8167 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.5295, allocations: 3.938 kB / 0.8167 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001045/0.5305, allocations: 359 kB / 0.817 GB, free: 3.695 MB / 0.6387 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.0005866/0.5311, allocations: 369.1 kB / 0.8174 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008831/0.532, allocations: 405.2 kB / 0.8178 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.532, allocations: 8.062 kB / 0.8178 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.5324, allocations: 176.5 kB / 0.818 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.5344, allocations: 476.8 kB / 0.8184 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.5369, allocations: 1.604 MB / 0.82 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.5373, allocations: 452.6 kB / 0.8204 GB, free: 180 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005412/0.5379, allocations: 174.9 kB / 0.8206 GB, free: 4 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.538, allocations: 76.42 kB / 0.8207 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.538, allocations: 0 / 0.8207 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.03229/0.5703, allocations: 18.74 MB / 0.839 GB, free: 13.66 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3850943150464445] Failed to read output from testmodel.py, exit status != 0: 0.5786293320124969 0.593054008 0.08822233800000001 Calling exit ...