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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 191.5 kB / 16.13 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 69.94 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3335, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9019/1.236, allocations: 212.1 MB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01382/1.249, allocations: 7.134 MB / 1.282 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/1.252, allocations: 41.81 kB / 1.282 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002235/1.254, allocations: 0.649 MB / 1.282 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007646/1.262, allocations: 2.366 MB / 1.285 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/1.265, allocations: 1.048 MB / 1.286 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007244/1.273, allocations: 3.761 MB / 1.289 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/1.275, allocations: 0.9216 MB / 1.29 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005624/1.28, allocations: 1.792 MB / 1.292 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/1.284, allocations: 0.9658 MB / 1.293 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003332/1.284, allocations: 60.25 kB / 1.293 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00704/1.291, allocations: 2.809 MB / 1.296 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007379/1.292, allocations: 369.7 kB / 1.296 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.293, allocations: 0.6294 MB / 1.297 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005335/1.298, allocations: 2.562 MB / 1.299 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.298, allocations: 4 kB / 1.299 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/1.298, allocations: 1.344 kB / 1.299 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.613e-05/1.298, allocations: 0 / 1.299 GB, free: 4.547 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.005721/1.304, allocations: 1.845 MB / 1.301 GB, free: 19.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.304, allocations: 9.719 kB / 1.301 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/1.308, allocations: 0.5367 MB / 1.301 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.31, allocations: 0.9646 MB / 1.302 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006459/1.31, allocations: 181.8 kB / 1.303 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.31, allocations: 84.91 kB / 1.303 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/1.313, allocations: 1.23 MB / 1.304 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/1.313, allocations: 0 / 1.304 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.314, allocations: 38.34 kB / 1.304 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/1.314, allocations: 49.56 kB / 1.304 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/1.317, allocations: 1.546 MB / 1.305 GB, free: 19.05 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.00709/1.324, allocations: 4.047 MB / 1.309 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/1.327, allocations: 1.002 MB / 1.31 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/1.329, allocations: 0.6659 MB / 1.311 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.33, allocations: 0.6116 MB / 1.312 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.33, allocations: 40.97 kB / 1.312 GB, free: 16.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/1.33, allocations: 1.375 kB / 1.312 GB, free: 16.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005074/1.335, allocations: 1.812 MB / 1.313 GB, free: 16.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.335, allocations: 63.22 kB / 1.313 GB, free: 16.53 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.336, allocations: 0.8189 MB / 1.314 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/1.336, allocations: 40.11 kB / 1.314 GB, free: 16.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/1.337, allocations: 442.2 kB / 1.315 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.337, allocations: 272.2 kB / 1.315 GB, free: 16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/1.337, allocations: 151.2 kB / 1.315 GB, free: 15.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.337, allocations: 335.8 kB / 1.315 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.339, allocations: 0.5395 MB / 1.316 GB, free: 15.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/1.34, allocations: 0.6513 MB / 1.317 GB, free: 15.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/1.343, allocations: 1.135 MB / 1.318 GB, free: 15.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.343, allocations: 0 / 1.318 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003261/1.346, allocations: 1.339 MB / 1.319 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/1.346, allocations: 38.83 kB / 1.319 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.346, allocations: 7.031 kB / 1.319 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.346, allocations: 5.25 kB / 1.319 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.348, allocations: 256.6 kB / 1.319 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/1.348, allocations: 1.196 MB / 1.32 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.35, allocations: 174.3 kB / 1.321 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/1.35, allocations: 33.56 kB / 1.321 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001736/1.352, allocations: 0.7582 MB / 1.321 GB, free: 13.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001398/1.353, allocations: 0.6556 MB / 1.322 GB, free: 13.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002534/1.356, allocations: 1.129 MB / 1.323 GB, free: 13.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.356, allocations: 0 / 1.323 GB, free: 13.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003345/1.359, allocations: 1.336 MB / 1.324 GB, free: 13.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/1.359, allocations: 41.64 kB / 1.325 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.359, allocations: 2.906 kB / 1.325 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/1.359, allocations: 5.75 kB / 1.325 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.36, allocations: 226 kB / 1.325 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.36, allocations: 3.188 kB / 1.325 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.362, allocations: 164.6 kB / 1.325 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/1.362, allocations: 34.56 kB / 1.325 GB, free: 13.52 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.0003272/1.362, allocations: 226.8 kB / 1.325 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.362, allocations: 104.6 kB / 1.325 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/1.366, allocations: 1.366 MB / 1.327 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.366, allocations: 9.047 kB / 1.327 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.366, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.366, allocations: 5.344 kB / 1.327 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/1.371, allocations: 2.863 MB / 1.329 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.371, allocations: 4.625 kB / 1.329 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.373, allocations: 230.1 kB / 1.33 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/1.373, allocations: 8.156 kB / 1.33 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/1.373, allocations: 31.92 kB / 1.33 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005781/1.373, allocations: 1.183 MB / 1.331 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.373, allocations: 6.281 kB / 1.331 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/1.377, allocations: 1.472 MB / 1.332 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/1.377, allocations: 306.8 kB / 1.333 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/1.377, allocations: 19.88 kB / 1.333 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.379, allocations: 148.6 kB / 1.333 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.379, allocations: 64.17 kB / 1.333 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/1.379, allocations: 42.44 kB / 1.333 GB, free: 10.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007411/1.38, allocations: 0.5722 MB / 1.333 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.38, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001422/1.381, allocations: 0.5265 MB / 1.334 GB, free: 10.78 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.0006593/1.382, allocations: 281.8 kB / 1.334 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005105/1.387, allocations: 2.017 MB / 1.336 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.387, allocations: 2.906 kB / 1.336 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/1.388, allocations: 0.667 MB / 1.337 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/1.392, allocations: 0.5239 MB / 1.337 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/1.397, allocations: 2.503 MB / 1.34 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/1.397, allocations: 1.092 MB / 1.341 GB, free: 8.266 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001801/1.399, allocations: 394 kB / 1.341 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.4, allocations: 88.2 kB / 1.341 GB, free: 8.164 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.4, allocations: 0 / 1.341 GB, free: 8.164 MB / 1.014 GB Notification: Performance of Templates: time 0.03712/1.437, allocations: 20.34 MB / 1.361 GB, free: 15.35 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)