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.0009749/0.0009748, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008891/0.000889, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.716/1.716, allocations: 292.6 MB / 0.5497 GB, free: 14.65 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.0005264/0.0005264, allocations: 18.56 kB / 0.6735 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03327/0.3177, allocations: 34.81 MB / 0.8211 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3302, allocations: 8.858 MB / 0.8298 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.3322, allocations: 47.62 kB / 0.8298 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.3344, allocations: 0.6142 MB / 0.8304 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.3405, allocations: 1.784 MB / 0.8321 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.3446, allocations: 1.364 MB / 0.8335 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.3485, allocations: 1.955 MB / 0.8354 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.3499, allocations: 0.7538 MB / 0.8361 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.3518, allocations: 0.8797 MB / 0.837 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009257/0.3528, allocations: 0.552 MB / 0.8375 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.459e-05/0.3529, allocations: 36 kB / 0.8376 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.3546, allocations: 0.5344 MB / 0.8381 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.3549, allocations: 195.2 kB / 0.8383 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.3552, allocations: 265.1 kB / 0.8385 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3569, allocations: 1.348 MB / 0.8398 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3569, allocations: 0 / 0.8398 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3569, allocations: 0 / 0.8398 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.3569, allocations: 0 / 0.8398 GB, free: 5.879 MB / 0.6544 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.002339/0.3593, allocations: 1.304 MB / 0.8411 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3593, allocations: 8.031 kB / 0.8411 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.3597, allocations: 138.5 kB / 0.8412 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.3613, allocations: 0.967 MB / 0.8422 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.3614, allocations: 53.95 kB / 0.8422 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3615, allocations: 72 kB / 0.8423 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3628, allocations: 0.7905 MB / 0.8431 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.3629, allocations: 3.938 kB / 0.8431 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.3629, allocations: 35.98 kB / 0.8431 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.363, allocations: 23.94 kB / 0.8431 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.364, allocations: 0.5828 MB / 0.8437 GB, free: 1.77 MB / 0.6544 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.004099/0.3681, allocations: 3.579 MB / 0.8472 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.3687, allocations: 270.6 kB / 0.8475 GB, free: 13.69 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/0.3693, allocations: 0.6571 MB / 0.8481 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3694, allocations: 42.48 kB / 0.8481 GB, free: 12.83 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3694, allocations: 0 / 0.8481 GB, free: 12.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001192/0.3706, allocations: 0.5411 MB / 0.8487 GB, free: 12.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.3706, allocations: 55.41 kB / 0.8487 GB, free: 12.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3718, allocations: 0.9566 MB / 0.8497 GB, free: 11.24 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.3719, allocations: 37.64 kB / 0.8497 GB, free: 11.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.3723, allocations: 499.6 kB / 0.8502 GB, free: 10.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3724, allocations: 118.4 kB / 0.8503 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.3724, allocations: 8 kB / 0.8503 GB, free: 10.58 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3726, allocations: 333.9 kB / 0.8506 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.3729, allocations: 173 kB / 0.8508 GB, free: 10.08 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.3734, allocations: 362.8 kB / 0.8511 GB, free: 9.645 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.3738, allocations: 231.8 kB / 0.8513 GB, free: 9.418 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3738, allocations: 0 / 0.8513 GB, free: 9.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001047/0.3749, allocations: 0.6329 MB / 0.852 GB, free: 8.777 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3749, allocations: 4 kB / 0.852 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3749, allocations: 8 kB / 0.852 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3749, allocations: 8 kB / 0.852 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.3754, allocations: 136.2 kB / 0.8521 GB, free: 8.625 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.3754, allocations: 12 kB / 0.8521 GB, free: 8.613 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/0.3761, allocations: 123.1 kB / 0.8522 GB, free: 8.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.3762, allocations: 24 kB / 0.8523 GB, free: 8.469 MB / 0.67 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.0003679/0.3766, allocations: 274.7 kB / 0.8525 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3767, allocations: 98.78 kB / 0.8526 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009228/0.3776, allocations: 0.4963 MB / 0.8531 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3776, allocations: 7.984 kB / 0.8531 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3776, allocations: 0 / 0.8531 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000681/0.3783, allocations: 472.8 kB / 0.8536 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.3803, allocations: 1.397 MB / 0.8549 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3803, allocations: 0 / 0.8549 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.3807, allocations: 83.89 kB / 0.855 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3807, allocations: 3.938 kB / 0.855 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3807, allocations: 15.98 kB / 0.855 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3807, allocations: 3.953 kB / 0.855 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3807, allocations: 4 kB / 0.855 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.382, allocations: 0.8553 MB / 0.8559 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.3824, allocations: 255.7 kB / 0.8561 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3825, allocations: 8 kB / 0.8561 GB, free: 4.328 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.383, allocations: 56 kB / 0.8562 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.3831, allocations: 31.92 kB / 0.8562 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.3831, allocations: 19.98 kB / 0.8562 GB, free: 4.223 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008151/0.384, allocations: 0.6704 MB / 0.8569 GB, free: 3.543 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.384, allocations: 0 / 0.8569 GB, free: 3.543 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009905/0.385, allocations: 343.4 kB / 0.8572 GB, free: 3.207 MB / 0.67 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.0006985/0.3857, allocations: 381.8 kB / 0.8576 GB, free: 2.836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.3865, allocations: 444.4 kB / 0.858 GB, free: 2.402 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3865, allocations: 0 / 0.858 GB, free: 2.402 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.3869, allocations: 200.6 kB / 0.8582 GB, free: 2.207 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.3895, allocations: 0.5969 MB / 0.8588 GB, free: 1.621 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.3919, allocations: 1.946 MB / 0.8607 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.3925, allocations: 1.06 MB / 0.8617 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000686/0.3932, allocations: 195.4 kB / 0.8619 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3934, allocations: 79.36 kB / 0.862 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of SimCode: time 1.262e-06/0.3934, allocations: 0 / 0.862 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of Templates: time 0.03098/0.4244, allocations: 20.24 MB / 0.8817 GB, free: 10.32 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: