Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008/0.0008, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007729/0.000773, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 18.45 kB / 0.6737 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6117/0.8444, allocations: 182.2 MB / 0.9652 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00935/0.8538, allocations: 7.108 MB / 0.9721 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.8555, allocations: 36.03 kB / 0.9722 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.8572, allocations: 452.7 kB / 0.9726 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.862, allocations: 1.456 MB / 0.974 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.865, allocations: 0.8981 MB / 0.9749 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004051/0.869, allocations: 2.965 MB / 0.9778 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.8704, allocations: 0.7113 MB / 0.9785 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.8736, allocations: 1.218 MB / 0.9797 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.8753, allocations: 0.7541 MB / 0.9804 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.8755, allocations: 40.41 kB / 0.9804 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.8782, allocations: 1.262 MB / 0.9817 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.8786, allocations: 258 kB / 0.9819 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.8791, allocations: 243.9 kB / 0.9822 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.8809, allocations: 1.488 MB / 0.9836 GB, free: 17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8809, allocations: 3.938 kB / 0.9836 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8809, allocations: 0 / 0.9836 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.8809, allocations: 0 / 0.9836 GB, free: 16.99 MB / 0.7325 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.00299/0.8839, allocations: 1.472 MB / 0.985 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.884, allocations: 8.438 kB / 0.9851 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.886, allocations: 482.1 kB / 0.9855 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.8876, allocations: 0.879 MB / 0.9864 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/0.8882, allocations: 188.7 kB / 0.9866 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.8883, allocations: 80.06 kB / 0.9866 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.8903, allocations: 1.121 MB / 0.9877 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.8903, allocations: 0 / 0.9877 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.8904, allocations: 33.25 kB / 0.9878 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.8905, allocations: 34.14 kB / 0.9878 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.8931, allocations: 1.269 MB / 0.989 GB, free: 14.65 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.005505/0.8986, allocations: 4.151 MB / 0.9931 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.9008, allocations: 0.9335 MB / 0.994 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.9018, allocations: 0.5312 MB / 0.9945 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/0.9026, allocations: 0.6508 MB / 0.9951 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.9039, allocations: 0.6339 MB / 0.9958 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/0.9039, allocations: 4 kB / 0.9958 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003606/0.9075, allocations: 1.521 MB / 0.9973 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.9076, allocations: 83.27 kB / 0.9973 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.9085, allocations: 0.8246 MB / 0.9981 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.9086, allocations: 41.53 kB / 0.9982 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.9089, allocations: 432.6 kB / 0.9986 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.9091, allocations: 193.6 kB / 0.9988 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.9091, allocations: 12.75 kB / 0.9988 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.9092, allocations: 324.6 kB / 0.9991 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.9103, allocations: 456.7 kB / 0.9995 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.9114, allocations: 0.5828 MB / 1 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.9125, allocations: 0.4899 MB / 1.001 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.9125, allocations: 1.75 kB / 1.001 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002582/0.9151, allocations: 1.156 MB / 1.002 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.9152, allocations: 178.8 kB / 1.002 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9153, allocations: 2.875 kB / 1.002 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9153, allocations: 3.594 kB / 1.002 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.9166, allocations: 253.2 kB / 1.002 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000697/0.9173, allocations: 1.193 MB / 1.003 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.9185, allocations: 192.8 kB / 1.003 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.9186, allocations: 30.77 kB / 1.004 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.9186, allocations: 6.844 kB / 1.004 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/0.921, allocations: 1.051 MB / 1.005 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.921, allocations: 3.125 kB / 1.005 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.921, allocations: 4.812 kB / 1.005 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.922, allocations: 228.5 kB / 1.005 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.922, allocations: 9.109 kB / 1.005 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.9231, allocations: 195.2 kB / 1.005 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.9231, allocations: 23.89 kB / 1.005 GB, free: 6.652 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0005001/0.9236, allocations: 344.2 kB / 1.005 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.9238, allocations: 96.12 kB / 1.005 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.9265, allocations: 1.21 MB / 1.007 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9265, allocations: 5.812 kB / 1.007 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9265, allocations: 0 / 1.007 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.9265, allocations: 3.984 kB / 1.007 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.9306, allocations: 2.408 MB / 1.009 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9307, allocations: 2.906 kB / 1.009 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/0.9316, allocations: 217 kB / 1.009 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.9316, allocations: 5.125 kB / 1.009 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.9317, allocations: 24.59 kB / 1.009 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005281/0.9322, allocations: 1.188 MB / 1.01 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9322, allocations: 2.844 kB / 1.01 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.9348, allocations: 1.288 MB / 1.012 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.9352, allocations: 290.2 kB / 1.012 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.9354, allocations: 20.31 kB / 1.012 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.9364, allocations: 156.1 kB / 1.012 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.9365, allocations: 63.48 kB / 1.012 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.9366, allocations: 30.19 kB / 1.012 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006859/0.9373, allocations: 0.57 MB / 1.013 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9373, allocations: 7.125 kB / 1.013 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001194/0.9385, allocations: 486.4 kB / 1.013 GB, free: 2.797 MB / 0.7325 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 (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.0005732/0.9391, allocations: 296.2 kB / 1.013 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004045/0.9431, allocations: 1.741 MB / 1.015 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.9431, allocations: 0 / 1.015 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.9445, allocations: 0.5959 MB / 1.016 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.9466, allocations: 466.5 kB / 1.016 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.9504, allocations: 2.247 MB / 1.018 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.951, allocations: 1.041 MB / 1.019 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001227/0.9522, allocations: 294.7 kB / 1.02 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.9525, allocations: 82.44 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.9525, allocations: 2.906 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.02774/0.9802, allocations: 18.14 MB / 1.037 GB, free: 15.52 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: