Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.708/2.708, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 182.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009567, allocations: 86 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.0005669, allocations: 19.61 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2121, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05046/0.2626, allocations: 38.31 MB / 1.016 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.2832, allocations: 9.666 MB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.2852, allocations: 51.62 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.2876, allocations: 457.1 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.2941, allocations: 1.463 MB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.2984, allocations: 0.8715 MB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007421/0.3059, allocations: 3.836 MB / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.3079, allocations: 0.7379 MB / 1.032 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.3112, allocations: 0.9916 MB / 1.033 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.3134, allocations: 0.8049 MB / 1.034 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.3138, allocations: 36 kB / 1.034 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.3166, allocations: 498.8 kB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.3171, allocations: 203.1 kB / 1.035 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.3178, allocations: 261.1 kB / 1.035 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.3208, allocations: 1.364 MB / 1.036 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.3209, allocations: 0 / 1.036 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3209, allocations: 4 kB / 1.036 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.321, allocations: 4 kB / 1.036 GB, free: 0.6797 MB / 0.6511 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.00354/0.3245, allocations: 1.304 MB / 1.038 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3246, allocations: 12.02 kB / 1.038 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.3252, allocations: 134.5 kB / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.3284, allocations: 1.029 MB / 1.039 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.3285, allocations: 58 kB / 1.039 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.3287, allocations: 75.98 kB / 1.039 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.331, allocations: 0.7983 MB / 1.04 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.3311, allocations: 7.844 kB / 1.04 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3312, allocations: 28 kB / 1.04 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.3313, allocations: 16 kB / 1.04 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.3333, allocations: 0.5944 MB / 1.04 GB, free: 12.5 MB / 0.6667 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.007025/0.3404, allocations: 3.548 MB / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.3414, allocations: 258.6 kB / 1.044 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.342, allocations: 189.3 kB / 1.044 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.3427, allocations: 0.6609 MB / 1.045 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.3428, allocations: 46.53 kB / 1.045 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.936e-06/0.3428, allocations: 0 / 1.045 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.002157/0.345, allocations: 0.5439 MB / 1.046 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.3451, allocations: 55.41 kB / 1.046 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.347, allocations: 0.9214 MB / 1.046 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.663e-05/0.3471, allocations: 29.7 kB / 1.047 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.3477, allocations: 495.6 kB / 1.047 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3479, allocations: 122.4 kB / 1.047 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.348, allocations: 12 kB / 1.047 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3481, allocations: 326 kB / 1.047 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.3488, allocations: 173 kB / 1.048 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.3497, allocations: 362.8 kB / 1.048 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.3504, allocations: 227.8 kB / 1.048 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3504, allocations: 0 / 1.048 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002036/0.3525, allocations: 0.6289 MB / 1.049 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.3525, allocations: 8 kB / 1.049 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.3526, allocations: 4.438 kB / 1.049 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/0.3526, allocations: 19.98 kB / 1.049 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.3535, allocations: 123.8 kB / 1.049 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.3535, allocations: 8 kB / 1.049 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.3548, allocations: 119.2 kB / 1.049 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.3549, allocations: 31.94 kB / 1.049 GB, free: 3.102 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006198/0.3555, allocations: 278.9 kB / 1.049 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.3558, allocations: 98.78 kB / 1.049 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.3575, allocations: 0.4982 MB / 1.05 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.3575, allocations: 4 kB / 1.05 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3575, allocations: 3.938 kB / 1.05 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.3588, allocations: 476.8 kB / 1.05 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.3624, allocations: 1.374 MB / 1.052 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3624, allocations: 4 kB / 1.052 GB, free: 268 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.3631, allocations: 83.95 kB / 1.052 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.3631, allocations: 4.156 kB / 1.052 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.3632, allocations: 19.94 kB / 1.052 GB, free: 160 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.3632, allocations: 4 kB / 1.052 GB, free: 156 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3632, allocations: 7.875 kB / 1.052 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.3655, allocations: 0.7773 MB / 1.053 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.3662, allocations: 247.7 kB / 1.053 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.3664, allocations: 8 kB / 1.053 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.3674, allocations: 59.88 kB / 1.053 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3676, allocations: 35.89 kB / 1.053 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.3676, allocations: 19.98 kB / 1.053 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001411/0.3691, allocations: 0.6352 MB / 1.054 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3691, allocations: 0 / 1.054 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001498/0.3706, allocations: 323.5 kB / 1.054 GB, free: 13.99 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.3717, allocations: 366 kB / 1.054 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.3732, allocations: 436.4 kB / 1.055 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3733, allocations: 1 kB / 1.055 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.3739, allocations: 196.5 kB / 1.055 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/0.3793, allocations: 0.6014 MB / 1.055 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.3836, allocations: 1.954 MB / 1.057 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008942/0.3846, allocations: 1.04 MB / 1.058 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001366/0.3859, allocations: 194.9 kB / 1.059 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.3862, allocations: 75.41 kB / 1.059 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.3862, allocations: 0 / 1.059 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of Templates: time 0.6577/1.044, allocations: 19.57 MB / 1.078 GB, free: 86.86 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)