Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 303.7 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 191.1 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.631 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008392/0.0008393, allocations: 98.23 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004083, allocations: 20.44 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8222/1.089, allocations: 195.2 MB / 1.171 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01322/1.103, allocations: 6.53 MB / 1.177 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/1.105, allocations: 41.19 kB / 1.177 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/1.108, allocations: 0.5647 MB / 1.178 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008078/1.116, allocations: 2.132 MB / 1.18 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/1.119, allocations: 0.9127 MB / 1.181 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005903/1.125, allocations: 3.203 MB / 1.184 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/1.128, allocations: 0.8817 MB / 1.185 GB, free: 192 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/1.133, allocations: 1.675 MB / 1.186 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/1.136, allocations: 0.8722 MB / 1.187 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000477/1.136, allocations: 46.91 kB / 1.187 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006545/1.143, allocations: 2.752 MB / 1.19 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007765/1.143, allocations: 347.5 kB / 1.19 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/1.145, allocations: 0.5981 MB / 1.191 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/1.148, allocations: 1.794 MB / 1.193 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.148, allocations: 0 / 1.193 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/1.148, allocations: 0 / 1.193 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.322e-05/1.148, allocations: 0 / 1.193 GB, free: 11.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004952/1.153, allocations: 1.609 MB / 1.194 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.153, allocations: 8.031 kB / 1.194 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/1.157, allocations: 0.5853 MB / 1.195 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/1.159, allocations: 0.9602 MB / 1.196 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000632/1.16, allocations: 194.1 kB / 1.196 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/1.16, allocations: 89.95 kB / 1.196 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/1.163, allocations: 1.261 MB / 1.197 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.163, allocations: 3.938 kB / 1.197 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.163, allocations: 31.94 kB / 1.197 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/1.163, allocations: 52.61 kB / 1.197 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/1.167, allocations: 1.612 MB / 1.199 GB, free: 7.598 MB / 0.7292 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.008043/1.175, allocations: 4.099 MB / 1.203 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/1.178, allocations: 1.048 MB / 1.204 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/1.179, allocations: 0.7 MB / 1.205 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.18, allocations: 0.637 MB / 1.205 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/1.18, allocations: 45.31 kB / 1.205 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 4.198e-06/1.18, allocations: 0 / 1.205 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.00508/1.186, allocations: 1.914 MB / 1.207 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.186, allocations: 64.06 kB / 1.207 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.187, allocations: 0.8154 MB / 1.208 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.187, allocations: 37.7 kB / 1.208 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/1.187, allocations: 436.6 kB / 1.208 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/1.188, allocations: 268.1 kB / 1.209 GB, free: 80 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/1.188, allocations: 16 kB / 1.209 GB, free: 64 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.188, allocations: 341.9 kB / 1.209 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/1.189, allocations: 0.5602 MB / 1.209 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/1.191, allocations: 0.6949 MB / 1.21 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/1.194, allocations: 1.205 MB / 1.211 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.194, allocations: 4 kB / 1.211 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003667/1.198, allocations: 1.419 MB / 1.213 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.198, allocations: 156.7 kB / 1.213 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.198, allocations: 0 / 1.213 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.198, allocations: 4 kB / 1.213 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.199, allocations: 288.4 kB / 1.213 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/1.2, allocations: 1.188 MB / 1.214 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.202, allocations: 195.4 kB / 1.215 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.202, allocations: 43.97 kB / 1.215 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/1.202, allocations: 4 kB / 1.215 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003164/1.205, allocations: 1.317 MB / 1.216 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.205, allocations: 11.88 kB / 1.216 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-06/1.205, allocations: 7.938 kB / 1.216 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.206, allocations: 251.8 kB / 1.216 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/1.206, allocations: 7.984 kB / 1.216 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.208, allocations: 191.2 kB / 1.216 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/1.208, allocations: 31.98 kB / 1.216 GB, free: 8.012 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007289/1.208, allocations: 372.9 kB / 1.217 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/1.209, allocations: 110.6 kB / 1.217 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/1.212, allocations: 1.426 MB / 1.218 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.212, allocations: 8 kB / 1.218 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.212, allocations: 0 / 1.218 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.213, allocations: 7.984 kB / 1.218 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/1.219, allocations: 2.913 MB / 1.221 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.219, allocations: 8 kB / 1.221 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.22, allocations: 263.8 kB / 1.221 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.22, allocations: 7.938 kB / 1.221 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/1.22, allocations: 23.98 kB / 1.221 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007032/1.221, allocations: 1.192 MB / 1.222 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.221, allocations: 7.938 kB / 1.222 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/1.224, allocations: 1.533 MB / 1.224 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/1.225, allocations: 315.5 kB / 1.224 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.225, allocations: 15.94 kB / 1.224 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.227, allocations: 171.7 kB / 1.224 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.227, allocations: 56.42 kB / 1.225 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/1.227, allocations: 35.98 kB / 1.225 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008353/1.228, allocations: 0.5622 MB / 1.225 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.01e-07/1.228, allocations: 0 / 1.225 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001742/1.229, allocations: 0.5302 MB / 1.226 GB, free: 14.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007026/1.23, allocations: 273.3 kB / 1.226 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005631/1.236, allocations: 2.143 MB / 1.228 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.236, allocations: 0 / 1.228 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.238, allocations: 0.7066 MB / 1.229 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/1.241, allocations: 0.4999 MB / 1.229 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/1.248, allocations: 2.484 MB / 1.232 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.249, allocations: 1.094 MB / 1.233 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002018/1.251, allocations: 387.5 kB / 1.233 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/1.251, allocations: 83.39 kB / 1.233 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of SimCode: time 1.182e-06/1.251, allocations: 0 / 1.233 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of Templates: time 0.03705/1.288, allocations: 19.74 MB / 1.252 GB, free: 2.918 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)