Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.12 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8662/1.159, allocations: 214.2 MB / 1.277 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01153/1.17, allocations: 7.03 MB / 1.284 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.173, allocations: 43.09 kB / 1.284 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/1.176, allocations: 0.7889 MB / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007512/1.184, allocations: 2.523 MB / 1.288 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/1.187, allocations: 1.158 MB / 1.289 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005471/1.193, allocations: 2.825 MB / 1.291 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/1.195, allocations: 1.084 MB / 1.292 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005672/1.201, allocations: 1.988 MB / 1.294 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/1.204, allocations: 0.9345 MB / 1.295 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005478/1.204, allocations: 118.6 kB / 1.295 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/1.21, allocations: 2.448 MB / 1.298 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009944/1.211, allocations: 428.3 kB / 1.298 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002278/1.214, allocations: 0.6877 MB / 1.299 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005733/1.219, allocations: 2.462 MB / 1.301 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.219, allocations: 1.719 kB / 1.301 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.219, allocations: 0.75 kB / 1.301 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.78e-05/1.219, allocations: 0 / 1.301 GB, free: 5.277 MB / 0.9981 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.006859/1.226, allocations: 1.849 MB / 1.303 GB, free: 20.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.226, allocations: 9.375 kB / 1.303 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/1.23, allocations: 0.5363 MB / 1.304 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/1.232, allocations: 0.9637 MB / 1.305 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/1.233, allocations: 174.2 kB / 1.305 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/1.233, allocations: 84.27 kB / 1.305 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/1.236, allocations: 1.238 MB / 1.306 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.236, allocations: 0 / 1.306 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.236, allocations: 43.22 kB / 1.306 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/1.236, allocations: 45.73 kB / 1.306 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003914/1.24, allocations: 1.542 MB / 1.308 GB, free: 19.86 MB / 1.014 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.007072/1.247, allocations: 4.071 MB / 1.312 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/1.25, allocations: 1.003 MB / 1.313 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/1.252, allocations: 0.6658 MB / 1.313 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.253, allocations: 0.6091 MB / 1.314 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.253, allocations: 39.16 kB / 1.314 GB, free: 17.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.253, allocations: 0 / 1.314 GB, free: 17.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005147/1.258, allocations: 1.818 MB / 1.316 GB, free: 17.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.258, allocations: 60.28 kB / 1.316 GB, free: 17.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.259, allocations: 0.8183 MB / 1.316 GB, free: 17.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.259, allocations: 44.02 kB / 1.317 GB, free: 17.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/1.26, allocations: 450.8 kB / 1.317 GB, free: 17.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/1.26, allocations: 265.8 kB / 1.317 GB, free: 16.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/1.26, allocations: 149.5 kB / 1.317 GB, free: 16.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.26, allocations: 337.3 kB / 1.318 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.262, allocations: 0.532 MB / 1.318 GB, free: 16.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.263, allocations: 0.659 MB / 1.319 GB, free: 16.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/1.266, allocations: 1.134 MB / 1.32 GB, free: 16.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.266, allocations: 0 / 1.32 GB, free: 16.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003643/1.27, allocations: 1.34 MB / 1.321 GB, free: 16.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/1.27, allocations: 39.77 kB / 1.321 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.27, allocations: 1.312 kB / 1.321 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.27, allocations: 10.78 kB / 1.321 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.271, allocations: 249.8 kB / 1.322 GB, free: 16.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006615/1.272, allocations: 1.198 MB / 1.323 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.273, allocations: 148.7 kB / 1.323 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/1.274, allocations: 33.42 kB / 1.323 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001805/1.275, allocations: 0.7591 MB / 1.324 GB, free: 14.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001432/1.277, allocations: 0.6499 MB / 1.324 GB, free: 14.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00268/1.279, allocations: 1.128 MB / 1.325 GB, free: 14.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/1.28, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003246/1.283, allocations: 1.344 MB / 1.327 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/1.283, allocations: 37.14 kB / 1.327 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.283, allocations: 0 / 1.327 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/1.283, allocations: 10.34 kB / 1.327 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.284, allocations: 227.7 kB / 1.327 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/1.284, allocations: 9.562 kB / 1.327 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.285, allocations: 130.4 kB / 1.327 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/1.285, allocations: 37.2 kB / 1.327 GB, free: 14.38 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000334/1.286, allocations: 218.9 kB / 1.327 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/1.286, allocations: 107.5 kB / 1.327 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/1.29, allocations: 1.361 MB / 1.329 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.29, allocations: 8.375 kB / 1.329 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.29, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/1.29, allocations: 5.719 kB / 1.329 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005443/1.295, allocations: 2.859 MB / 1.332 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.295, allocations: 2.406 kB / 1.332 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.296, allocations: 239.2 kB / 1.332 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.296, allocations: 10.75 kB / 1.332 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/1.296, allocations: 24.89 kB / 1.332 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/1.297, allocations: 1.193 MB / 1.333 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.297, allocations: 9.219 kB / 1.333 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/1.3, allocations: 1.473 MB / 1.334 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/1.301, allocations: 307 kB / 1.335 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.301, allocations: 20.88 kB / 1.335 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.302, allocations: 110.8 kB / 1.335 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.302, allocations: 65.91 kB / 1.335 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/1.302, allocations: 34.34 kB / 1.335 GB, free: 11.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007006/1.303, allocations: 0.5685 MB / 1.336 GB, free: 11.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.303, allocations: 7.406 kB / 1.336 GB, free: 11.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001408/1.305, allocations: 0.5306 MB / 1.336 GB, free: 11.05 MB / 1.014 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005602/1.305, allocations: 275.7 kB / 1.336 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005765/1.311, allocations: 2.133 MB / 1.338 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.311, allocations: 2.469 kB / 1.338 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.313, allocations: 0.669 MB / 1.339 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.315, allocations: 0.4887 MB / 1.34 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/1.32, allocations: 2.122 MB / 1.342 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.32, allocations: 1.091 MB / 1.343 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001768/1.322, allocations: 385.8 kB / 1.343 GB, free: 7.992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.322, allocations: 96.3 kB / 1.343 GB, free: 7.973 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.322, allocations: 0 / 1.343 GB, free: 7.973 MB / 1.014 GB Notification: Performance of Templates: time 0.03451/1.357, allocations: 20.95 MB / 1.364 GB, free: 15.52 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)