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.0008691/0.0008692, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005135/0.005135, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.733/1.733, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005143/0.0005143, allocations: 18.38 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1982, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5591/0.7573, allocations: 195 MB / 0.9784 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.7679, allocations: 7.573 MB / 0.9858 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.7695, allocations: 37.09 kB / 0.9859 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.7713, allocations: 0.5636 MB / 0.9864 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.7764, allocations: 1.828 MB / 0.9882 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.7792, allocations: 1.055 MB / 0.9892 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.7829, allocations: 3.457 MB / 0.9926 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.7844, allocations: 0.8053 MB / 0.9934 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.7873, allocations: 1.364 MB / 0.9947 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.7891, allocations: 0.7913 MB / 0.9955 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.7893, allocations: 40.56 kB / 0.9956 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.7927, allocations: 1.972 MB / 0.9975 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.7932, allocations: 260.6 kB / 0.9977 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009259/0.7941, allocations: 0.5669 MB / 0.9983 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.797, allocations: 2.121 MB / 1 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.797, allocations: 4 kB / 1 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.797, allocations: 0 / 1 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.852e-05/0.7971, allocations: 0 / 1 GB, free: 5.684 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.003463/0.8005, allocations: 1.463 MB / 1.002 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.8006, allocations: 9.219 kB / 1.002 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.8008, allocations: 121.1 kB / 1.002 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.8031, allocations: 471.8 kB / 1.002 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.8047, allocations: 0.9181 MB / 1.003 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/0.8054, allocations: 185.8 kB / 1.003 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.8055, allocations: 73.47 kB / 1.004 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.8079, allocations: 1.134 MB / 1.005 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.8079, allocations: 2.906 kB / 1.005 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.513e-05/0.808, allocations: 29.53 kB / 1.005 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.8081, allocations: 29.03 kB / 1.005 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/0.8113, allocations: 1.274 MB / 1.006 GB, free: 2.211 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.006062/0.8174, allocations: 4.169 MB / 1.01 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.8201, allocations: 0.9385 MB / 1.011 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.8214, allocations: 0.5319 MB / 1.011 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008161/0.8223, allocations: 0.6522 MB / 1.012 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.8238, allocations: 0.6375 MB / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=57): time 2.745e-06/0.8239, allocations: 0 / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57): time 0.004404/0.8283, allocations: 1.527 MB / 1.014 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.8283, allocations: 87.42 kB / 1.014 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.8294, allocations: 0.8362 MB / 1.015 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.8295, allocations: 38.86 kB / 1.015 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.8299, allocations: 424.7 kB / 1.016 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.83, allocations: 192.2 kB / 1.016 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.8301, allocations: 50.69 kB / 1.016 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8303, allocations: 334.6 kB / 1.016 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.8316, allocations: 456.2 kB / 1.016 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.833, allocations: 0.5882 MB / 1.017 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.8356, allocations: 0.9894 MB / 1.018 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8356, allocations: 0 / 1.018 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003099/0.8387, allocations: 1.164 MB / 1.019 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.8388, allocations: 171.4 kB / 1.019 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8388, allocations: 2.969 kB / 1.019 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8389, allocations: 8.625 kB / 1.019 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.8403, allocations: 257.2 kB / 1.02 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006944/0.841, allocations: 1.188 MB / 1.021 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.8423, allocations: 194.9 kB / 1.021 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.8424, allocations: 26.92 kB / 1.021 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.8424, allocations: 5.844 kB / 1.021 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002854/0.8453, allocations: 1.06 MB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8453, allocations: 2.906 kB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.8453, allocations: 5.281 kB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.8463, allocations: 225.4 kB / 1.022 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8464, allocations: 2.844 kB / 1.022 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.8475, allocations: 193.8 kB / 1.022 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.8476, allocations: 34.88 kB / 1.022 GB, free: 6.996 MB / 0.7481 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 (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 (69): * Single equations (assignments): 66 * 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.0004959/0.8481, allocations: 340.3 kB / 1.023 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8483, allocations: 97.16 kB / 1.023 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.8516, allocations: 1.215 MB / 1.024 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8516, allocations: 8.031 kB / 1.024 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8516, allocations: 0 / 1.024 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.8516, allocations: 3.984 kB / 1.024 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/0.8565, allocations: 2.399 MB / 1.026 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.8565, allocations: 6.844 kB / 1.026 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.8576, allocations: 225.6 kB / 1.027 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.8576, allocations: 4.938 kB / 1.027 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.8577, allocations: 20.7 kB / 1.027 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005648/0.8582, allocations: 1.189 MB / 1.028 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8582, allocations: 6.812 kB / 1.028 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.8613, allocations: 1.291 MB / 1.029 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.8617, allocations: 295.2 kB / 1.029 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.8619, allocations: 23.89 kB / 1.029 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8631, allocations: 153.3 kB / 1.03 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.8633, allocations: 57.33 kB / 1.03 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.8634, allocations: 27.02 kB / 1.03 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007267/0.8641, allocations: 0.5832 MB / 1.03 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.723e-06/0.8641, allocations: 0 / 1.03 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001261/0.8654, allocations: 490.2 kB / 1.031 GB, free: 1.668 MB / 0.7481 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.003782/0.8692, allocations: 2.018 MB / 1.033 GB, free: 204 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004952/0.8741, allocations: 1.753 MB / 1.034 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.8742, allocations: 4 kB / 1.034 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.8758, allocations: 0.6041 MB / 1.035 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.8786, allocations: 458 kB / 1.035 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.896, allocations: 8.731 MB / 1.044 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.8967, allocations: 1.043 MB / 1.045 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001391/0.8981, allocations: 287 kB / 1.045 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/0.8987, allocations: 355.3 kB / 1.046 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of SimCode: time 1.042e-06/0.8987, allocations: 4 kB / 1.046 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5912/1.49, allocations: 25.8 MB / 1.071 GB, free: 9.246 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/1.49, allocations: 290.1 kB / 1.071 GB, free: 8.863 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.796, allocations: 0 / 1.071 GB, free: 8.863 MB / 0.795 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/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)