Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001506/0.001506, allocations: 109.4 kB / 17.03 MB, free: 5.703 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.001733/0.001733, allocations: 194.9 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7253/0.7253, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.14 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03648/0.3687, allocations: 41.55 MB / 0.5981 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.3824, allocations: 10.4 MB / 0.6083 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.3844, allocations: 59.94 kB / 0.6083 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.3861, allocations: 0.642 MB / 0.609 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.3913, allocations: 1.877 MB / 0.6108 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.3942, allocations: 1.195 MB / 0.612 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.3986, allocations: 3.394 MB / 0.6153 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.3999, allocations: 1.056 MB / 0.6163 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.4025, allocations: 1.235 MB / 0.6175 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.4036, allocations: 0.875 MB / 0.6184 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.4037, allocations: 103.9 kB / 0.6185 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.4057, allocations: 0.8617 MB / 0.6193 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.4059, allocations: 275 kB / 0.6196 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006294/0.4066, allocations: 0.6337 MB / 0.6202 GB, free: 4.285 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.4089, allocations: 1.941 MB / 0.6221 GB, free: 2.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.409, allocations: 0 / 0.6221 GB, free: 2.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.409, allocations: 0 / 0.6221 GB, free: 2.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.409, allocations: 0 / 0.6221 GB, free: 2.344 MB / 462.1 MB 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.002356/0.4114, allocations: 1.515 MB / 0.6236 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4114, allocations: 12.03 kB / 0.6236 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.4118, allocations: 135.4 kB / 0.6237 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.4136, allocations: 1.103 MB / 0.6248 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.4137, allocations: 61.94 kB / 0.6249 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4138, allocations: 72 kB / 0.6249 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4151, allocations: 0.7905 MB / 0.6257 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4152, allocations: 0 / 0.6257 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.4152, allocations: 32 kB / 0.6257 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.4153, allocations: 20 kB / 0.6257 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4164, allocations: 0.5672 MB / 0.6263 GB, free: 13.91 MB / 478.1 MB 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.004054/0.4204, allocations: 3.555 MB / 0.6298 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.421, allocations: 258.4 kB / 0.63 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.4214, allocations: 181.3 kB / 0.6302 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.422, allocations: 0.6532 MB / 0.6308 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.422, allocations: 42.55 kB / 0.6309 GB, free: 8.836 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.422, allocations: 0 / 0.6309 GB, free: 8.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001277/0.4233, allocations: 0.5126 MB / 0.6314 GB, free: 8.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4234, allocations: 59.39 kB / 0.6314 GB, free: 8.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.4246, allocations: 0.9417 MB / 0.6323 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.4247, allocations: 33.7 kB / 0.6324 GB, free: 7.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.4251, allocations: 0.4917 MB / 0.6329 GB, free: 6.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4252, allocations: 110.5 kB / 0.633 GB, free: 6.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.4254, allocations: 122 kB / 0.6331 GB, free: 6.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4255, allocations: 333.8 kB / 0.6334 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.4259, allocations: 161 kB / 0.6335 GB, free: 6.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.4263, allocations: 350.9 kB / 0.6339 GB, free: 5.609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.4272, allocations: 0.5148 MB / 0.6344 GB, free: 5.023 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4272, allocations: 0 / 0.6344 GB, free: 5.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001179/0.4284, allocations: 0.6133 MB / 0.635 GB, free: 4.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4284, allocations: 4 kB / 0.635 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4284, allocations: 8 kB / 0.635 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.4284, allocations: 11.98 kB / 0.635 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.4289, allocations: 123.8 kB / 0.6351 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4289, allocations: 8.438 kB / 0.6351 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.4295, allocations: 87.19 kB / 0.6352 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.4296, allocations: 27.98 kB / 0.6352 GB, free: 4.137 MB / 478.1 MB 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.0003741/0.4299, allocations: 278.5 kB / 0.6355 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4301, allocations: 98.78 kB / 0.6356 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.4311, allocations: 0.4885 MB / 0.6361 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4311, allocations: 4 kB / 0.6361 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4311, allocations: 0 / 0.6361 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007104/0.4318, allocations: 449.5 kB / 0.6365 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.4339, allocations: 1.382 MB / 0.6379 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4339, allocations: 0 / 0.6379 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.4342, allocations: 80.05 kB / 0.6379 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4343, allocations: 7.938 kB / 0.6379 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4343, allocations: 8 kB / 0.638 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4343, allocations: 7.984 kB / 0.638 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4343, allocations: 64 / 0.638 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4356, allocations: 0.7669 MB / 0.6387 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.4359, allocations: 231.7 kB / 0.6389 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.436, allocations: 8.062 kB / 0.6389 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/0.4366, allocations: 27.97 kB / 0.639 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.4366, allocations: 27.95 kB / 0.639 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.4367, allocations: 19.98 kB / 0.639 GB, free: 116 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008421/0.4375, allocations: 0.6628 MB / 0.6397 GB, free: 15.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4375, allocations: 0 / 0.6397 GB, free: 15.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000913/0.4385, allocations: 335.4 kB / 0.64 GB, free: 15.11 MB / 494.1 MB 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.0007172/0.4392, allocations: 391.1 kB / 0.6404 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008829/0.4401, allocations: 420.6 kB / 0.6408 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4401, allocations: 4 kB / 0.6408 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.4405, allocations: 184.5 kB / 0.6409 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.4429, allocations: 0.6254 MB / 0.6415 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.4453, allocations: 1.586 MB / 0.6431 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.4459, allocations: 1.036 MB / 0.6441 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006354/0.4466, allocations: 191.9 kB / 0.6443 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4468, allocations: 79.42 kB / 0.6444 GB, free: 10.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.565e-06/0.4468, allocations: 3.938 kB / 0.6444 GB, free: 10.58 MB / 494.1 MB Notification: Performance of Templates: time 0.03435/0.4811, allocations: 21.22 MB / 0.6651 GB, free: 5.598 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)