Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00158/0.00158, allocations: 114.9 kB / 16.42 MB, free: 6.504 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.00179/0.00179, allocations: 186.6 kB / 17.35 MB, free: 5.758 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 298.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9438/0.9438, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3915, allocations: 86.97 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6013/0.9928, allocations: 199.9 MB / 0.9623 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0105/1.003, allocations: 7.66 MB / 0.9698 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/1.005, allocations: 45.25 kB / 0.9698 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.007, allocations: 0.6835 MB / 0.9705 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/1.012, allocations: 2.021 MB / 0.9725 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/1.015, allocations: 1.138 MB / 0.9736 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00358/1.018, allocations: 2.681 MB / 0.9762 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/1.02, allocations: 0.9824 MB / 0.9772 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/1.023, allocations: 1.588 MB / 0.9787 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/1.024, allocations: 0.8174 MB / 0.9795 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/1.024, allocations: 107.2 kB / 0.9796 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/1.028, allocations: 1.841 MB / 0.9814 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/1.028, allocations: 330.9 kB / 0.9817 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/1.029, allocations: 0.6059 MB / 0.9823 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/1.031, allocations: 2.159 MB / 0.9844 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.031, allocations: 0 / 0.9844 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/1.031, allocations: 0.8438 kB / 0.9844 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.929e-05/1.031, allocations: 0 / 0.9844 GB, free: 1.625 MB / 0.7169 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.003452/1.035, allocations: 1.664 MB / 0.986 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.035, allocations: 9.406 kB / 0.9861 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/1.037, allocations: 440.6 kB / 0.9865 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/1.039, allocations: 0.9575 MB / 0.9874 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/1.039, allocations: 63.16 kB / 0.9875 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.039, allocations: 73.12 kB / 0.9875 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/1.041, allocations: 1.079 MB / 0.9886 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.041, allocations: 3.094 kB / 0.9886 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/1.042, allocations: 31.67 kB / 0.9886 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/1.042, allocations: 33.7 kB / 0.9887 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/1.044, allocations: 1.172 MB / 0.9898 GB, free: 16.24 MB / 0.7325 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.007328/1.052, allocations: 4.093 MB / 0.9938 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/1.054, allocations: 0.8369 MB / 0.9946 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/1.056, allocations: 0.4933 MB / 0.9951 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/1.056, allocations: 0.6368 MB / 0.9957 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/1.058, allocations: 0.5801 MB / 0.9963 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 3.296e-06/1.058, allocations: 2.172 kB / 0.9963 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.004276/1.062, allocations: 1.382 MB / 0.9976 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/1.062, allocations: 86.5 kB / 0.9977 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.063, allocations: 0.8343 MB / 0.9985 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-05/1.063, allocations: 39.48 kB / 0.9986 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/1.064, allocations: 425.2 kB / 0.999 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.064, allocations: 191.9 kB / 0.9992 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/1.064, allocations: 128.9 kB / 0.9993 GB, free: 13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.064, allocations: 328.7 kB / 0.9996 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.066, allocations: 410.1 kB / 1 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/1.067, allocations: 0.5213 MB / 1 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/1.069, allocations: 0.87 MB / 1.001 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.069, allocations: 3.938 kB / 1.001 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002833/1.072, allocations: 1.056 MB / 1.002 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/1.072, allocations: 32.02 kB / 1.002 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.072, allocations: 2.469 kB / 1.002 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.072, allocations: 2.188 kB / 1.002 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.074, allocations: 223.7 kB / 1.003 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/1.074, allocations: 1.189 MB / 1.004 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.076, allocations: 141.2 kB / 1.004 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/1.076, allocations: 28.55 kB / 1.004 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001611/1.077, allocations: 0.5995 MB / 1.005 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/1.079, allocations: 0.5147 MB / 1.005 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002363/1.081, allocations: 0.8635 MB / 1.006 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/1.081, allocations: 0 / 1.006 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002631/1.084, allocations: 1.043 MB / 1.007 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/1.084, allocations: 35.19 kB / 1.007 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.084, allocations: 2.094 kB / 1.007 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/1.084, allocations: 9.219 kB / 1.007 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/1.085, allocations: 189.5 kB / 1.007 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.085, allocations: 2.719 kB / 1.007 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/1.086, allocations: 127.3 kB / 1.007 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/1.086, allocations: 32.28 kB / 1.007 GB, free: 10.59 MB / 0.7325 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.000259/1.086, allocations: 214.2 kB / 1.007 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.086, allocations: 107.4 kB / 1.008 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/1.089, allocations: 1.114 MB / 1.009 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.089, allocations: 3.047 kB / 1.009 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.089, allocations: 0 / 1.009 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/1.089, allocations: 285.2 kB / 1.009 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.09, allocations: 12.41 kB / 1.009 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/1.091, allocations: 99.22 kB / 1.009 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.091, allocations: 50.55 kB / 1.009 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003379/1.094, allocations: 1.146 MB / 1.01 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003942/1.098, allocations: 1.74 MB / 1.012 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001205/1.099, allocations: 470.7 kB / 1.012 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007004/1.1, allocations: 0.5852 MB / 1.013 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of Backend: time 3.01e-07/1.1, allocations: 0 / 1.013 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004882/1.105, allocations: 1.63 MB / 1.015 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003162/1.108, allocations: 2.15 MB / 1.017 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.04094/1.149, allocations: 26.4 MB / 1.042 GB, free: 7.953 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)