Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 191.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 111.6 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 54.77 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3384, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05302/0.3916, allocations: 76.66 MB / 1.293 GB, free: 40.33 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.4141, allocations: 18.97 MB / 1.311 GB, free: 21.31 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.4186, allocations: 99.38 kB / 1.312 GB, free: 21.21 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.4219, allocations: 1.022 MB / 1.313 GB, free: 20.18 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00952/0.4314, allocations: 3.379 MB / 1.316 GB, free: 16.79 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.436, allocations: 1.904 MB / 1.318 GB, free: 14.91 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008798/0.4449, allocations: 8.931 MB / 1.326 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/0.4487, allocations: 1.731 MB / 1.328 GB, free: 4.18 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/0.4547, allocations: 1.96 MB / 1.33 GB, free: 2.211 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.4583, allocations: 1.765 MB / 1.332 GB, free: 448 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003951/0.4587, allocations: 100 kB / 1.332 GB, free: 348 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.463, allocations: 1.465 MB / 1.333 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.4636, allocations: 450 kB / 1.334 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.4653, allocations: 1.146 MB / 1.335 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.005923/0.4713, allocations: 3.642 MB / 1.338 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4713, allocations: 0 / 1.338 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4713, allocations: 7.938 kB / 1.338 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.244e-05/0.4714, allocations: 0 / 1.338 GB, free: 9.617 MB / 0.8386 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.005445/0.4768, allocations: 2.703 MB / 1.341 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4769, allocations: 15.92 kB / 1.341 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.4777, allocations: 269.9 kB / 1.341 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.481, allocations: 1.97 MB / 1.343 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.4811, allocations: 110.7 kB / 1.343 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.4813, allocations: 147.8 kB / 1.344 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.4839, allocations: 1.516 MB / 1.345 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.4839, allocations: 7.938 kB / 1.345 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.484, allocations: 56 kB / 1.345 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.4841, allocations: 39.98 kB / 1.345 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.4863, allocations: 1.126 MB / 1.346 GB, free: 1.465 MB / 0.8386 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.009273/0.4956, allocations: 7.583 MB / 1.354 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.4966, allocations: 485 kB / 1.354 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.4972, allocations: 330.3 kB / 1.354 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.4981, allocations: 1.152 MB / 1.355 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4982, allocations: 39.12 kB / 1.356 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=59): time 4.558e-06/0.4982, allocations: 4 kB / 1.356 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59): time 0.002342/0.5005, allocations: 0.9613 MB / 1.356 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.5006, allocations: 59.97 kB / 1.357 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.5034, allocations: 1.755 MB / 1.358 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.5036, allocations: 41.7 kB / 1.358 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008304/0.5044, allocations: 0.9356 MB / 1.359 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.5047, allocations: 216.9 kB / 1.359 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.505, allocations: 226.7 kB / 1.36 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5052, allocations: 353.9 kB / 1.36 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.5059, allocations: 334.4 kB / 1.36 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.507, allocations: 0.6899 MB / 1.361 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.5087, allocations: 1.008 MB / 1.362 GB, free: 88 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.5087, allocations: 4 kB / 1.362 GB, free: 84 kB / 0.8542 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00256/0.5112, allocations: 1.21 MB / 1.363 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.5113, allocations: 16.16 kB / 1.363 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.5113, allocations: 8 kB / 1.363 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.5114, allocations: 16 kB / 1.363 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.5124, allocations: 287.5 kB / 1.363 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/0.5124, allocations: 23.92 kB / 1.363 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.5141, allocations: 234.4 kB / 1.364 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/0.5142, allocations: 51.98 kB / 1.364 GB, free: 14.24 MB / 0.8698 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.0008023/0.515, allocations: 445.9 kB / 1.364 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/0.5155, allocations: 193.7 kB / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.5174, allocations: 0.8712 MB / 1.365 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.5175, allocations: 11.94 kB / 1.365 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5175, allocations: 0 / 1.365 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/0.5188, allocations: 0.7957 MB / 1.366 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.5235, allocations: 2.424 MB / 1.368 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.5235, allocations: 7.938 kB / 1.368 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.5243, allocations: 184 kB / 1.369 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.5243, allocations: 8 kB / 1.369 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.5243, allocations: 12 kB / 1.369 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.5244, allocations: 11.98 kB / 1.369 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5244, allocations: 3.938 kB / 1.369 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/0.5365, allocations: 6.153 MB / 1.375 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.5373, allocations: 370.4 kB / 1.375 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.5377, allocations: 20 kB / 1.375 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.5389, allocations: 107.7 kB / 1.375 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5391, allocations: 48.5 kB / 1.375 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.5392, allocations: 35.97 kB / 1.375 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001993/0.5412, allocations: 1.22 MB / 1.376 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5412, allocations: 0 / 1.376 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003009/0.5442, allocations: 0.8973 MB / 1.377 GB, free: 88 kB / 0.8698 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.001468/0.5457, allocations: 0.591 MB / 1.378 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.5478, allocations: 0.8117 MB / 1.379 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5478, allocations: 4 kB / 1.379 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.5486, allocations: 360.4 kB / 1.379 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006866/0.5555, allocations: 1.2 MB / 1.38 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.5621, allocations: 4.157 MB / 1.384 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.5635, allocations: 1.421 MB / 1.386 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001927/0.5654, allocations: 396.5 kB / 1.386 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.5659, allocations: 151.4 kB / 1.386 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/0.5659, allocations: 0 / 1.386 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of Templates: time 0.5998/1.166, allocations: 41.54 MB / 1.427 GB, free: 195.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)