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.001357/0.001357, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.001663/0.001663, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.39/1.39, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.769/1.769, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001417/0.001417, allocations: 71.89 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2008, allocations: 114.5 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3935/0.5944, allocations: 41.57 MB / 0.8247 GB, free: 23.24 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.608, allocations: 10.31 MB / 0.8347 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.6105, allocations: 58.03 kB / 0.8348 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.6127, allocations: 0.6428 MB / 0.8354 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.6181, allocations: 1.863 MB / 0.8372 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.6213, allocations: 1.197 MB / 0.8384 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00506/0.6264, allocations: 3.376 MB / 0.8417 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.6287, allocations: 1.065 MB / 0.8427 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/0.6325, allocations: 1.228 MB / 0.8439 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.6344, allocations: 0.8912 MB / 0.8448 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.6346, allocations: 99.53 kB / 0.8449 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.637, allocations: 0.8605 MB / 0.8457 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.6373, allocations: 279.1 kB / 0.846 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008045/0.6381, allocations: 0.6319 MB / 0.8466 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.6424, allocations: 1.925 MB / 0.8485 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.6424, allocations: 3.25 kB / 0.8485 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6424, allocations: 0.7031 kB / 0.8485 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.96e-05/0.6425, allocations: 0 / 0.8485 GB, free: 9.008 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.003399/0.6459, allocations: 1.508 MB / 0.85 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.646, allocations: 10.06 kB / 0.85 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004475/0.6464, allocations: 130.6 kB / 0.8501 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.6485, allocations: 1.035 MB / 0.8511 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.6486, allocations: 56.25 kB / 0.8512 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6488, allocations: 72.12 kB / 0.8513 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.6503, allocations: 0.7889 MB / 0.852 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.6503, allocations: 4.812 kB / 0.852 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.6504, allocations: 31.3 kB / 0.8521 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.6505, allocations: 22.78 kB / 0.8521 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.6517, allocations: 0.571 MB / 0.8526 GB, free: 6.629 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.004858/0.6566, allocations: 3.542 MB / 0.8561 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.6572, allocations: 257.5 kB / 0.8563 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.6576, allocations: 179.7 kB / 0.8565 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000478/0.6581, allocations: 0.6588 MB / 0.8572 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.6581, allocations: 39.38 kB / 0.8572 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.6582, allocations: 0 / 0.8572 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001395/0.6596, allocations: 0.5126 MB / 0.8577 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.6596, allocations: 59.52 kB / 0.8578 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.6614, allocations: 0.9388 MB / 0.8587 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.6614, allocations: 32.5 kB / 0.8587 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.6618, allocations: 499.8 kB / 0.8592 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6619, allocations: 115.8 kB / 0.8593 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.6621, allocations: 124.9 kB / 0.8594 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.6622, allocations: 328 kB / 0.8597 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.6625, allocations: 167.1 kB / 0.8599 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.663, allocations: 345.7 kB / 0.8602 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.6638, allocations: 0.5168 MB / 0.8607 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6638, allocations: 2.859 kB / 0.8607 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001222/0.6651, allocations: 0.6112 MB / 0.8613 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6651, allocations: 7.312 kB / 0.8613 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6651, allocations: 9.828 kB / 0.8613 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.6652, allocations: 8.438 kB / 0.8613 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.6656, allocations: 122.8 kB / 0.8615 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.6656, allocations: 17.44 kB / 0.8615 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.6664, allocations: 88.36 kB / 0.8616 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.6665, allocations: 27.12 kB / 0.8616 GB, free: 0.5156 MB / 0.6544 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.0003573/0.6669, allocations: 274.4 kB / 0.8618 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.6671, allocations: 98.5 kB / 0.8619 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009721/0.6681, allocations: 483 kB / 0.8624 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6681, allocations: 5.25 kB / 0.8624 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6681, allocations: 0 / 0.8624 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007891/0.6689, allocations: 457 kB / 0.8628 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.6715, allocations: 1.359 MB / 0.8642 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6715, allocations: 1.594 kB / 0.8642 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.6718, allocations: 81.08 kB / 0.8642 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.996e-05/0.6719, allocations: 6.562 kB / 0.8642 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.6719, allocations: 11.67 kB / 0.8643 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.6719, allocations: 7.781 kB / 0.8643 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6719, allocations: 2.562 kB / 0.8643 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.6733, allocations: 0.7625 MB / 0.865 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.6738, allocations: 225.6 kB / 0.8652 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.674, allocations: 15.78 kB / 0.8652 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.6746, allocations: 29.86 kB / 0.8653 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.6747, allocations: 24.72 kB / 0.8653 GB, free: 14.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.6748, allocations: 19.73 kB / 0.8653 GB, free: 14.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001003/0.6758, allocations: 0.6538 MB / 0.866 GB, free: 13.71 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6758, allocations: 0 / 0.866 GB, free: 13.71 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001276/0.6771, allocations: 345.2 kB / 0.8663 GB, free: 13.63 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 (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.0009876/0.6781, allocations: 392.3 kB / 0.8667 GB, free: 13.42 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6791, allocations: 420.8 kB / 0.8671 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6791, allocations: 0 / 0.8671 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.6796, allocations: 188 kB / 0.8672 GB, free: 13.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.6826, allocations: 0.6163 MB / 0.8678 GB, free: 12.88 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.6855, allocations: 1.582 MB / 0.8694 GB, free: 11.87 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/0.6864, allocations: 1.035 MB / 0.8704 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.6873, allocations: 199.7 kB / 0.8706 GB, free: 10.92 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.6875, allocations: 79.64 kB / 0.8707 GB, free: 10.91 MB / 0.67 GB Notification: Performance of SimCode: time 7.42e-07/0.6875, allocations: 0 / 0.8707 GB, free: 10.91 MB / 0.67 GB Notification: Performance of Templates: time 0.0384/0.7259, allocations: 21.29 MB / 0.8914 GB, free: 12.61 MB / 0.6856 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)