Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001748, 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.002179/0.002179, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.38 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 159.9 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.936/1.272, allocations: 197.6 MB / 1.261 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01153/1.284, allocations: 7.734 MB / 1.268 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/1.286, allocations: 38.25 kB / 1.268 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/1.288, allocations: 0.5673 MB / 1.269 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00722/1.295, allocations: 1.885 MB / 1.27 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/1.299, allocations: 1.006 MB / 1.271 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005525/1.305, allocations: 3.472 MB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/1.306, allocations: 0.8425 MB / 1.276 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/1.31, allocations: 1.386 MB / 1.277 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/1.313, allocations: 0.8307 MB / 1.278 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/1.313, allocations: 51.97 kB / 1.278 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00534/1.318, allocations: 1.978 MB / 1.28 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/1.319, allocations: 283.8 kB / 1.28 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.32, allocations: 0.5596 MB / 1.281 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005567/1.326, allocations: 2.149 MB / 1.283 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.326, allocations: 0 / 1.283 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.726e-06/1.326, allocations: 4 kB / 1.283 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.249e-05/1.326, allocations: 2.906 kB / 1.283 GB, free: 5.273 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005214/1.331, allocations: 1.662 MB / 1.284 GB, free: 20.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.331, allocations: 9 kB / 1.284 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/1.334, allocations: 436.8 kB / 1.285 GB, free: 20.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.336, allocations: 0.917 MB / 1.286 GB, free: 19.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/1.337, allocations: 167.2 kB / 1.286 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.337, allocations: 75.31 kB / 1.286 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/1.34, allocations: 1.088 MB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.34, allocations: 0.75 kB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/1.34, allocations: 28.03 kB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/1.34, allocations: 35.14 kB / 1.287 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/1.343, allocations: 1.192 MB / 1.288 GB, free: 19.83 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.007423/1.351, allocations: 4.11 MB / 1.292 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.353, allocations: 0.8679 MB / 1.293 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/1.355, allocations: 0.4958 MB / 1.294 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/1.356, allocations: 0.6355 MB / 1.294 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/1.357, allocations: 0.593 MB / 1.295 GB, free: 17.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/1.357, allocations: 0 / 1.295 GB, free: 17.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004446/1.362, allocations: 1.41 MB / 1.296 GB, free: 17.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.362, allocations: 88.73 kB / 1.296 GB, free: 16.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.363, allocations: 0.8394 MB / 1.297 GB, free: 16.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/1.363, allocations: 40.98 kB / 1.297 GB, free: 16.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/1.364, allocations: 428.1 kB / 1.297 GB, free: 16.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/1.364, allocations: 190.1 kB / 1.298 GB, free: 16.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.364, allocations: 128.8 kB / 1.298 GB, free: 16.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.364, allocations: 327.5 kB / 1.298 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/1.365, allocations: 423.7 kB / 1.299 GB, free: 16.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.367, allocations: 0.5331 MB / 1.299 GB, free: 16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/1.369, allocations: 0.8888 MB / 1.3 GB, free: 15.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.369, allocations: 1.438 kB / 1.3 GB, free: 15.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003101/1.372, allocations: 1.063 MB / 1.301 GB, free: 15.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/1.372, allocations: 34.98 kB / 1.301 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.372, allocations: 2.719 kB / 1.301 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.372, allocations: 3.688 kB / 1.301 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.374, allocations: 223 kB / 1.301 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/1.375, allocations: 1.199 MB / 1.302 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.376, allocations: 166.2 kB / 1.303 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/1.376, allocations: 33.66 kB / 1.303 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001688/1.378, allocations: 0.6026 MB / 1.303 GB, free: 14.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001287/1.379, allocations: 0.529 MB / 1.304 GB, free: 14.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002385/1.382, allocations: 0.8837 MB / 1.305 GB, free: 14.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/1.382, allocations: 0 / 1.305 GB, free: 14.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.003006/1.385, allocations: 1.065 MB / 1.306 GB, free: 14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/1.385, allocations: 36.86 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.385, allocations: 2.906 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/1.385, allocations: 6.844 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.386, allocations: 192.8 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.386, allocations: 7.125 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.387, allocations: 155.2 kB / 1.306 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/1.387, allocations: 28.03 kB / 1.306 GB, free: 13.94 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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.0003362/1.388, allocations: 218.4 kB / 1.306 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.388, allocations: 101.7 kB / 1.306 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/1.391, allocations: 1.133 MB / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.391, allocations: 7.75 kB / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.391, allocations: 0 / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.391, allocations: 3.094 kB / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/1.396, allocations: 2.324 MB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.396, allocations: 4.875 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.397, allocations: 194.7 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/1.397, allocations: 5.188 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/1.397, allocations: 29.02 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006592/1.398, allocations: 1.194 MB / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.398, allocations: 8.5 kB / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.401, allocations: 1.205 MB / 1.312 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/1.402, allocations: 288.9 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.402, allocations: 18.03 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.403, allocations: 136.4 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.403, allocations: 59.5 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/1.403, allocations: 32.88 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007936/1.404, allocations: 0.5783 MB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.404, allocations: 0 / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00164/1.406, allocations: 485.6 kB / 1.314 GB, free: 11.31 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0007515/1.406, allocations: 304.9 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004651/1.411, allocations: 1.606 MB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.411, allocations: 2.656 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/1.413, allocations: 0.562 MB / 1.316 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/1.416, allocations: 464.8 kB / 1.317 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/1.42, allocations: 2.262 MB / 1.319 GB, free: 9.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/1.421, allocations: 1.04 MB / 1.32 GB, free: 9.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001613/1.423, allocations: 289.2 kB / 1.32 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/1.423, allocations: 81.12 kB / 1.32 GB, free: 9.008 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.423, allocations: 4 kB / 1.32 GB, free: 9.004 MB / 1.014 GB Notification: Performance of Templates: time 0.03539/1.458, allocations: 18.98 MB / 1.339 GB, free: 3.414 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)