Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 220.7 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.39/3.39, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00367/0.00367, allocations: 63.89 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.96/0.9637, allocations: 180 MB / 1.353 GB, free: 1.633 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05182/1.015, allocations: 38.47 MB / 1.39 GB, free: 11.02 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.01782/1.033, allocations: 9.624 MB / 1.4 GB, free: 1.375 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/1.035, allocations: 79.31 kB / 1.4 GB, free: 1.297 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/1.037, allocations: 0.6443 MB / 1.401 GB, free: 0.6484 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.006118/1.043, allocations: 2 MB / 1.403 GB, free: 14.64 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/1.047, allocations: 1.206 MB / 1.404 GB, free: 13.44 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.005883/1.053, allocations: 3.431 MB / 1.407 GB, free: 10 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/1.055, allocations: 0.7769 MB / 1.408 GB, free: 9.207 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/1.059, allocations: 1.47 MB / 1.409 GB, free: 7.738 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/1.061, allocations: 0.8827 MB / 1.41 GB, free: 6.852 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/1.061, allocations: 100 kB / 1.41 GB, free: 6.754 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/1.064, allocations: 0.7095 MB / 1.411 GB, free: 6.043 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/1.064, allocations: 298.7 kB / 1.411 GB, free: 5.75 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0008437/1.065, allocations: 0.5055 MB / 1.412 GB, free: 5.242 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.003646/1.069, allocations: 1.966 MB / 1.414 GB, free: 3.273 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.069, allocations: 0 / 1.414 GB, free: 3.273 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.114e-06/1.069, allocations: 0 / 1.414 GB, free: 3.273 MB / 1.089 GB Notification: Performance of Transformations before backend: time 1.998e-05/1.069, allocations: 0 / 1.414 GB, free: 3.273 MB / 1.089 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.003374/1.072, allocations: 1.469 MB / 1.415 GB, free: 1.766 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/1.072, allocations: 16.84 kB / 1.415 GB, free: 1.75 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/1.072, allocations: 144.1 kB / 1.415 GB, free: 1.609 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/1.075, allocations: 1.048 MB / 1.416 GB, free: 0.5273 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/1.075, allocations: 50 kB / 1.416 GB, free: 488 kB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.075, allocations: 75.95 kB / 1.416 GB, free: 412 kB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.076, allocations: 0.9489 MB / 1.417 GB, free: 15.39 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/1.076, allocations: 4 kB / 1.417 GB, free: 15.38 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/1.076, allocations: 28 kB / 1.417 GB, free: 15.36 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/1.077, allocations: 20 kB / 1.417 GB, free: 15.34 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.078, allocations: 0.5711 MB / 1.418 GB, free: 14.77 MB / 1.104 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.004289/1.082, allocations: 2.601 MB / 1.42 GB, free: 12.08 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/1.083, allocations: 239.3 kB / 1.421 GB, free: 11.84 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/1.083, allocations: 173.2 kB / 1.421 GB, free: 11.66 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/1.083, allocations: 63.95 kB / 1.421 GB, free: 11.6 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.084, allocations: 46.55 kB / 1.421 GB, free: 11.55 MB / 1.104 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/1.084, allocations: 0 / 1.421 GB, free: 11.55 MB / 1.104 GB Notification: Performance of matching and sorting (n=31): time 0.00126/1.085, allocations: 0.493 MB / 1.421 GB, free: 11.05 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.085, allocations: 59.41 kB / 1.421 GB, free: 10.98 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.086, allocations: 0.81 MB / 1.422 GB, free: 10.15 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/1.086, allocations: 41.69 kB / 1.422 GB, free: 10.11 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/1.087, allocations: 0.5078 MB / 1.423 GB, free: 9.594 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/1.087, allocations: 119 kB / 1.423 GB, free: 9.477 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/1.087, allocations: 122.2 kB / 1.423 GB, free: 9.352 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.087, allocations: 329.9 kB / 1.423 GB, free: 9.023 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/1.087, allocations: 165.2 kB / 1.423 GB, free: 8.863 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/1.088, allocations: 0.4942 MB / 1.424 GB, free: 8.254 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.089, allocations: 0.5147 MB / 1.424 GB, free: 7.668 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.089, allocations: 3.938 kB / 1.424 GB, free: 7.664 MB / 1.104 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001376/1.091, allocations: 0.6136 MB / 1.425 GB, free: 7.043 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.091, allocations: 8 kB / 1.425 GB, free: 7.035 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/1.091, allocations: 8 kB / 1.425 GB, free: 7.027 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/1.091, allocations: 8.594 kB / 1.425 GB, free: 7.02 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/1.091, allocations: 123.8 kB / 1.425 GB, free: 6.898 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/1.091, allocations: 15.92 kB / 1.425 GB, free: 6.883 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/1.092, allocations: 67.59 kB / 1.425 GB, free: 6.816 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.092, allocations: 27.98 kB / 1.425 GB, free: 6.789 MB / 1.104 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.0004377/1.092, allocations: 277.6 kB / 1.426 GB, free: 6.508 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/1.093, allocations: 87.44 kB / 1.426 GB, free: 6.422 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/1.094, allocations: 480.9 kB / 1.426 GB, free: 5.941 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.094, allocations: 4 kB / 1.426 GB, free: 5.938 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.094, allocations: 0 / 1.426 GB, free: 5.938 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008568/1.095, allocations: 459 kB / 1.427 GB, free: 5.461 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/1.097, allocations: 1.159 MB / 1.428 GB, free: 4.25 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.097, allocations: 4 kB / 1.428 GB, free: 4.246 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/1.097, allocations: 71.95 kB / 1.428 GB, free: 4.176 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.097, allocations: 3.938 kB / 1.428 GB, free: 4.172 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/1.097, allocations: 12.16 kB / 1.428 GB, free: 4.16 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.097, allocations: 7.938 kB / 1.428 GB, free: 4.152 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.097, allocations: 7.984 kB / 1.428 GB, free: 4.145 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/1.099, allocations: 0.755 MB / 1.429 GB, free: 3.355 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/1.099, allocations: 135.3 kB / 1.429 GB, free: 3.223 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.099, allocations: 16.06 kB / 1.429 GB, free: 3.207 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/1.1, allocations: 27.91 kB / 1.429 GB, free: 3.18 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/1.1, allocations: 27.95 kB / 1.429 GB, free: 3.152 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/1.1, allocations: 19.98 kB / 1.429 GB, free: 3.133 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0008321/1.101, allocations: 0.5498 MB / 1.429 GB, free: 2.59 MB / 1.104 GB Notification: Performance of sort global known variables: time 6e-08/1.101, allocations: 0 / 1.429 GB, free: 2.59 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.001143/1.102, allocations: 355.1 kB / 1.43 GB, free: 2.242 MB / 1.104 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.0007431/1.103, allocations: 385.7 kB / 1.43 GB, free: 1.859 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.104, allocations: 400 kB / 1.43 GB, free: 1.469 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.104, allocations: 0 / 1.43 GB, free: 1.469 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/1.104, allocations: 181.6 kB / 1.431 GB, free: 1.293 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.106, allocations: 464.2 kB / 1.431 GB, free: 0.8555 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/1.109, allocations: 1.609 MB / 1.433 GB, free: 15.2 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/1.11, allocations: 452.6 kB / 1.433 GB, free: 14.72 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0006354/1.111, allocations: 169.4 kB / 1.433 GB, free: 14.55 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.111, allocations: 75.41 kB / 1.433 GB, free: 14.48 MB / 1.12 GB Notification: Performance of SimCode: time 8.31e-07/1.111, allocations: 0 / 1.433 GB, free: 14.48 MB / 1.12 GB Notification: Performance of Templates: time 0.0391/1.15, allocations: 20.05 MB / 1.453 GB, free: 10.84 MB / 1.135 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.055433789268136]