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.001268/0.001268, allocations: 108.1 kB / 17.03 MB, free: 5.656 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.00129/0.00129, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3415, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0342/0.3757, allocations: 41.56 MB / 0.5981 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.3887, allocations: 10.39 MB / 0.6083 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.3911, allocations: 55.72 kB / 0.6083 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.3927, allocations: 0.6381 MB / 0.609 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.3976, allocations: 1.88 MB / 0.6108 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.4005, allocations: 1.191 MB / 0.612 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004432/0.4049, allocations: 3.398 MB / 0.6153 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.4064, allocations: 1.064 MB / 0.6163 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.4092, allocations: 1.228 MB / 0.6175 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4102, allocations: 0.8789 MB / 0.6184 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4103, allocations: 100 kB / 0.6185 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.4121, allocations: 0.8578 MB / 0.6193 GB, free: 5.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4124, allocations: 279 kB / 0.6196 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.413, allocations: 0.6376 MB / 0.6202 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.4152, allocations: 1.936 MB / 0.6221 GB, free: 2.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4152, allocations: 0 / 0.6221 GB, free: 2.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4152, allocations: 0 / 0.6221 GB, free: 2.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.4152, allocations: 0 / 0.6221 GB, free: 2.328 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.002141/0.4174, allocations: 1.515 MB / 0.6236 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.4174, allocations: 12.03 kB / 0.6236 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.4177, allocations: 135.4 kB / 0.6237 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.4194, allocations: 1.109 MB / 0.6248 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.4195, allocations: 57.94 kB / 0.6249 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.4196, allocations: 72 kB / 0.6249 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.4208, allocations: 0.7905 MB / 0.6257 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4208, allocations: 0 / 0.6257 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.4209, allocations: 35.98 kB / 0.6257 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4209, allocations: 19.98 kB / 0.6257 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4219, allocations: 0.5672 MB / 0.6263 GB, free: 13.89 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.003629/0.4255, allocations: 3.551 MB / 0.6298 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.4261, allocations: 254.4 kB / 0.63 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.4264, allocations: 181.3 kB / 0.6302 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004845/0.4269, allocations: 0.6571 MB / 0.6308 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.4269, allocations: 42.53 kB / 0.6309 GB, free: 8.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.427, allocations: 0 / 0.6309 GB, free: 8.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001057/0.428, allocations: 0.5126 MB / 0.6314 GB, free: 8.301 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4281, allocations: 55.41 kB / 0.6314 GB, free: 8.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4291, allocations: 0.9494 MB / 0.6323 GB, free: 7.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.4292, allocations: 37.64 kB / 0.6324 GB, free: 7.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.4295, allocations: 0.4918 MB / 0.6329 GB, free: 6.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.4296, allocations: 118.4 kB / 0.633 GB, free: 6.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4298, allocations: 118.1 kB / 0.6331 GB, free: 6.488 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4299, allocations: 329.9 kB / 0.6334 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.4303, allocations: 165 kB / 0.6336 GB, free: 5.996 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.4307, allocations: 346.9 kB / 0.6339 GB, free: 5.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.4315, allocations: 0.5148 MB / 0.6344 GB, free: 5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4315, allocations: 4 kB / 0.6344 GB, free: 4.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001017/0.4325, allocations: 0.6055 MB / 0.635 GB, free: 4.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4325, allocations: 8 kB / 0.635 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.4325, allocations: 4 kB / 0.635 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4326, allocations: 11.98 kB / 0.635 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.433, allocations: 124.2 kB / 0.6351 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.433, allocations: 19.92 kB / 0.6351 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.4335, allocations: 79.25 kB / 0.6352 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.4336, allocations: 24 kB / 0.6352 GB, free: 4.117 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.000299/0.4339, allocations: 282.5 kB / 0.6355 GB, free: 3.832 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.434, allocations: 98.78 kB / 0.6356 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008932/0.4349, allocations: 496.5 kB / 0.6361 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4349, allocations: 4 kB / 0.6361 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.435, allocations: 0 / 0.6361 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006602/0.4356, allocations: 449.5 kB / 0.6365 GB, free: 2.777 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.4375, allocations: 1.374 MB / 0.6379 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4375, allocations: 4 kB / 0.6379 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.4378, allocations: 84.03 kB / 0.6379 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4378, allocations: 3.938 kB / 0.6379 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4378, allocations: 12 kB / 0.638 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4379, allocations: 0 / 0.638 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4379, allocations: 4.062 kB / 0.638 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.439, allocations: 0.767 MB / 0.6387 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.4393, allocations: 227.7 kB / 0.6389 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4394, allocations: 12.06 kB / 0.6389 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.4399, allocations: 35.89 kB / 0.639 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.44, allocations: 23.97 kB / 0.639 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.44, allocations: 23.92 kB / 0.639 GB, free: 92 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007644/0.4408, allocations: 0.6588 MB / 0.6397 GB, free: 15.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4408, allocations: 0 / 0.6397 GB, free: 15.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008479/0.4416, allocations: 343.4 kB / 0.64 GB, free: 15.09 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.0006786/0.4423, allocations: 385.4 kB / 0.6404 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008119/0.4431, allocations: 424.6 kB / 0.6408 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4432, allocations: 0 / 0.6408 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.4435, allocations: 188.5 kB / 0.6409 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.4458, allocations: 0.6167 MB / 0.6415 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.448, allocations: 1.598 MB / 0.6431 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.4487, allocations: 1.04 MB / 0.6441 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.4493, allocations: 191.9 kB / 0.6443 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.4494, allocations: 75.42 kB / 0.6444 GB, free: 10.56 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4494, allocations: 0 / 0.6444 GB, free: 10.56 MB / 494.1 MB Notification: Performance of Templates: time 0.03365/0.4831, allocations: 21.22 MB / 0.6651 GB, free: 5.578 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)