Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 192.9 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.3 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2581, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0413/0.2995, allocations: 41.57 MB / 0.8247 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.3143, allocations: 10.32 MB / 0.8348 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.3163, allocations: 51.69 kB / 0.8348 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.3182, allocations: 0.6365 MB / 0.8355 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.3232, allocations: 1.87 MB / 0.8373 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.3263, allocations: 1.204 MB / 0.8385 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004615/0.3309, allocations: 3.379 MB / 0.8418 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.3324, allocations: 1.052 MB / 0.8428 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.3352, allocations: 1.24 MB / 0.844 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.3364, allocations: 0.8789 MB / 0.8449 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.3366, allocations: 100 kB / 0.845 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.3384, allocations: 0.8656 MB / 0.8458 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.3386, allocations: 283 kB / 0.8461 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.3392, allocations: 0.6299 MB / 0.8467 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.3414, allocations: 1.924 MB / 0.8486 GB, free: 10.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3414, allocations: 0 / 0.8486 GB, free: 10.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3414, allocations: 0 / 0.8486 GB, free: 10.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.3414, allocations: 0 / 0.8486 GB, free: 10.52 MB / 0.67 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.002213/0.3437, allocations: 1.507 MB / 0.85 GB, free: 8.957 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3437, allocations: 8.031 kB / 0.85 GB, free: 8.949 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.3441, allocations: 135.4 kB / 0.8502 GB, free: 8.816 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.3457, allocations: 1.092 MB / 0.8512 GB, free: 7.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.3457, allocations: 65.94 kB / 0.8513 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3458, allocations: 75.91 kB / 0.8514 GB, free: 7.543 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.3471, allocations: 0.7905 MB / 0.8522 GB, free: 6.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3472, allocations: 0 / 0.8522 GB, free: 6.715 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.3472, allocations: 28 kB / 0.8522 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.3473, allocations: 20 kB / 0.8522 GB, free: 6.668 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3484, allocations: 0.5711 MB / 0.8528 GB, free: 6.098 MB / 0.67 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.003815/0.3522, allocations: 3.547 MB / 0.8562 GB, free: 2.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.3528, allocations: 260.8 kB / 0.8565 GB, free: 2.059 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.3532, allocations: 176.8 kB / 0.8566 GB, free: 1.883 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.3537, allocations: 0.6609 MB / 0.8573 GB, free: 1.074 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3538, allocations: 34.56 kB / 0.8573 GB, free: 1.031 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.3538, allocations: 0 / 0.8573 GB, free: 1.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001171/0.3549, allocations: 0.5109 MB / 0.8578 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.355, allocations: 63.33 kB / 0.8579 GB, free: 452 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3561, allocations: 0.941 MB / 0.8588 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.3562, allocations: 33.7 kB / 0.8588 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.3566, allocations: 495.6 kB / 0.8593 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.3567, allocations: 114.4 kB / 0.8594 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3568, allocations: 122 kB / 0.8595 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.357, allocations: 333.9 kB / 0.8598 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3573, allocations: 161 kB / 0.86 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.3578, allocations: 347.6 kB / 0.8603 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.3587, allocations: 0.5225 MB / 0.8608 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3587, allocations: 4 kB / 0.8608 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001111/0.3598, allocations: 0.6094 MB / 0.8614 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3598, allocations: 8 kB / 0.8614 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3599, allocations: 4 kB / 0.8614 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3599, allocations: 11.94 kB / 0.8615 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.3603, allocations: 124.2 kB / 0.8616 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.3604, allocations: 19.92 kB / 0.8616 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.3609, allocations: 79.25 kB / 0.8617 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.361, allocations: 24 kB / 0.8617 GB, free: 12.33 MB / 0.6856 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.0003285/0.3613, allocations: 281.5 kB / 0.862 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3615, allocations: 98.78 kB / 0.8621 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009729/0.3625, allocations: 488.3 kB / 0.8625 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3625, allocations: 7.984 kB / 0.8625 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3625, allocations: 0 / 0.8625 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007265/0.3632, allocations: 452.6 kB / 0.863 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3653, allocations: 1.37 MB / 0.8643 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3653, allocations: 160 / 0.8643 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.3656, allocations: 79.95 kB / 0.8644 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3657, allocations: 7.938 kB / 0.8644 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.3657, allocations: 15.98 kB / 0.8644 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3657, allocations: 4 kB / 0.8644 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3657, allocations: 0 / 0.8644 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3671, allocations: 0.759 MB / 0.8651 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.3674, allocations: 239.7 kB / 0.8654 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3675, allocations: 8 kB / 0.8654 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.368, allocations: 27.95 kB / 0.8654 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.3681, allocations: 23.97 kB / 0.8654 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.3682, allocations: 19.98 kB / 0.8655 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008833/0.3691, allocations: 0.6548 MB / 0.8661 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3691, allocations: 0 / 0.8661 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001023/0.3701, allocations: 339.5 kB / 0.8664 GB, free: 7.312 MB / 0.6856 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.0007675/0.3709, allocations: 391.8 kB / 0.8668 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009447/0.3718, allocations: 428 kB / 0.8672 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3718, allocations: 0 / 0.8672 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.3722, allocations: 183.8 kB / 0.8674 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.3749, allocations: 0.6164 MB / 0.868 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3773, allocations: 1.578 MB / 0.8695 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.3779, allocations: 1.036 MB / 0.8705 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006652/0.3786, allocations: 204.1 kB / 0.8707 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.3788, allocations: 79.42 kB / 0.8708 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.3788, allocations: 0 / 0.8708 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of Templates: time 0.03289/0.4117, allocations: 21.27 MB / 0.8916 GB, free: 13.77 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)