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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009614, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009594/0.0009592, allocations: 177.3 kB / 15.95 MB, free: 216 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.164/1.164, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.488/1.488, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0004406/0.0004406, allocations: 16.34 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4725/0.6464, allocations: 166.8 MB / 0.9501 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007828/0.6542, allocations: 6.962 MB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.6551, allocations: 33.09 kB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.6565, allocations: 0.6218 MB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.6601, allocations: 1.735 MB / 0.9592 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.6627, allocations: 1.159 MB / 0.9604 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.6647, allocations: 1.549 MB / 0.9619 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.6656, allocations: 0.7384 MB / 0.9626 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.6674, allocations: 1.086 MB / 0.9636 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.668, allocations: 0.5534 MB / 0.9642 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.152e-05/0.6681, allocations: 42.19 kB / 0.9642 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.6702, allocations: 1.103 MB / 0.9653 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.6704, allocations: 243.1 kB / 0.9655 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.6706, allocations: 245.1 kB / 0.9658 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.6718, allocations: 1.404 MB / 0.9671 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.6718, allocations: 0 / 0.9671 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6718, allocations: 1.375 kB / 0.9671 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.6719, allocations: 4 kB / 0.9671 GB, free: 4.742 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.002874/0.6747, allocations: 1.445 MB / 0.9686 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.6748, allocations: 9.844 kB / 0.9686 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.6749, allocations: 118.8 kB / 0.9687 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.677, allocations: 473.9 kB / 0.9691 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.6783, allocations: 0.8616 MB / 0.97 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005683/0.6789, allocations: 188.8 kB / 0.9702 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.679, allocations: 80.17 kB / 0.9702 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.6809, allocations: 1.12 MB / 0.9713 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.681, allocations: 0 / 0.9713 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.6811, allocations: 33.56 kB / 0.9714 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.6811, allocations: 31.75 kB / 0.9714 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.6837, allocations: 1.265 MB / 0.9726 GB, free: 19.32 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.005103/0.6888, allocations: 4.18 MB / 0.9767 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.691, allocations: 0.9407 MB / 0.9776 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/0.6915, allocations: 495.8 kB / 0.9781 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.6927, allocations: 0.6292 MB / 0.9787 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.6928, allocations: 7.984 kB / 0.9787 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003551/0.6963, allocations: 1.516 MB / 0.9802 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6964, allocations: 87.75 kB / 0.9803 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.6971, allocations: 0.8318 MB / 0.9811 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.6972, allocations: 40.61 kB / 0.9811 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.6974, allocations: 433.5 kB / 0.9815 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6975, allocations: 197.9 kB / 0.9817 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.6976, allocations: 9.5 kB / 0.9817 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.6977, allocations: 322.9 kB / 0.9821 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.6987, allocations: 458.1 kB / 0.9825 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.6998, allocations: 0.5747 MB / 0.9831 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.7009, allocations: 0.4884 MB / 0.9835 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7009, allocations: 2 kB / 0.9835 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002374/0.7033, allocations: 1.153 MB / 0.9847 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.7035, allocations: 0.7299 MB / 0.9854 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7035, allocations: 2.5 kB / 0.9854 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7035, allocations: 9.906 kB / 0.9854 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.7047, allocations: 261.3 kB / 0.9856 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005125/0.7053, allocations: 1.188 MB / 0.9868 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.7063, allocations: 188.1 kB / 0.987 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.7064, allocations: 35.31 kB / 0.987 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.7064, allocations: 14.03 kB / 0.987 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002265/0.7087, allocations: 1.048 MB / 0.988 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.7087, allocations: 3 kB / 0.988 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.7087, allocations: 7.219 kB / 0.988 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.7095, allocations: 227.2 kB / 0.9883 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7096, allocations: 4.875 kB / 0.9883 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/0.7105, allocations: 190.7 kB / 0.9885 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.7105, allocations: 26.98 kB / 0.9885 GB, free: 11.76 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.0003892/0.7109, allocations: 347.3 kB / 0.9888 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.711, allocations: 100.5 kB / 0.9889 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.7136, allocations: 1.202 MB / 0.9901 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.7136, allocations: 11.06 kB / 0.9901 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7136, allocations: 0 / 0.9901 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.7136, allocations: 7.938 kB / 0.9901 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.7174, allocations: 2.397 MB / 0.9924 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7174, allocations: 2.406 kB / 0.9924 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/0.7183, allocations: 227.2 kB / 0.9927 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7183, allocations: 5.406 kB / 0.9927 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.7184, allocations: 19.14 kB / 0.9927 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004353/0.7188, allocations: 1.196 MB / 0.9938 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.7188, allocations: 6.156 kB / 0.9939 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.7213, allocations: 1.415 MB / 0.9952 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.7217, allocations: 290.9 kB / 0.9955 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.7218, allocations: 17.77 kB / 0.9955 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7228, allocations: 165.6 kB / 0.9957 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.723, allocations: 58.14 kB / 0.9957 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.723, allocations: 34.12 kB / 0.9958 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005548/0.7236, allocations: 0.5739 MB / 0.9963 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7236, allocations: 0 / 0.9963 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001036/0.7246, allocations: 491 kB / 0.9968 GB, free: 7.758 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.00325/0.7279, allocations: 2.915 MB / 0.9997 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003883/0.7318, allocations: 1.739 MB / 1.001 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7318, allocations: 0 / 1.001 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.7331, allocations: 0.6046 MB / 1.002 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.735, allocations: 455.2 kB / 1.002 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.7392, allocations: 3.821 MB / 1.006 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.7396, allocations: 1.063 MB / 1.007 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001049/0.7407, allocations: 286.7 kB / 1.007 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.7411, allocations: 357.3 kB / 1.008 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.7411, allocations: 2.906 kB / 1.008 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.045/4.786, allocations: 26.58 MB / 1.034 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/4.786, allocations: 261.6 kB / 1.034 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/7.921, allocations: 0 / 1.034 GB, free: 10.24 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: