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.0009966/0.0009967, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001219/0.001219, allocations: 168.7 kB / 15.95 MB, free: 204 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.518/1.518, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.691/1.691, 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.000524/0.000524, allocations: 14.53 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2642, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.851/1.115, allocations: 182.2 MB / 0.9653 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0119/1.127, allocations: 7.093 MB / 0.9722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/1.129, allocations: 40.22 kB / 0.9723 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/1.131, allocations: 458.2 kB / 0.9727 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005814/1.137, allocations: 1.452 MB / 0.9741 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/1.14, allocations: 0.8962 MB / 0.975 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005279/1.145, allocations: 2.963 MB / 0.9779 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/1.147, allocations: 0.7121 MB / 0.9786 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/1.151, allocations: 1.213 MB / 0.9798 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/1.154, allocations: 0.7552 MB / 0.9805 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/1.154, allocations: 43.19 kB / 0.9806 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/1.158, allocations: 1.266 MB / 0.9818 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/1.158, allocations: 253 kB / 0.982 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007801/1.159, allocations: 250.6 kB / 0.9823 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/1.161, allocations: 1.484 MB / 0.9837 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.162, allocations: 4 kB / 0.9837 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.033e-06/1.162, allocations: 3.312 kB / 0.9837 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.322e-05/1.162, allocations: 0 / 0.9837 GB, free: 17.06 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.0033/1.165, allocations: 1.473 MB / 0.9852 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.165, allocations: 9.656 kB / 0.9852 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/1.165, allocations: 117 kB / 0.9853 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/1.167, allocations: 474.6 kB / 0.9857 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/1.169, allocations: 0.8821 MB / 0.9866 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005486/1.17, allocations: 186.5 kB / 0.9868 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.17, allocations: 71.25 kB / 0.9869 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/1.172, allocations: 1.141 MB / 0.988 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/1.172, allocations: 0 / 0.988 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/1.172, allocations: 27.84 kB / 0.988 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/1.172, allocations: 32.02 kB / 0.988 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/1.175, allocations: 1.27 MB / 0.9893 GB, free: 14.66 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.006336/1.181, allocations: 4.154 MB / 0.9933 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/1.183, allocations: 0.9369 MB / 0.9942 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.184, allocations: 0.5392 MB / 0.9948 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007921/1.185, allocations: 0.6476 MB / 0.9954 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/1.187, allocations: 0.6283 MB / 0.996 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.154e-06/1.187, allocations: 0 / 0.996 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003781/1.19, allocations: 1.528 MB / 0.9975 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.191, allocations: 82.73 kB / 0.9976 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/1.192, allocations: 0.8282 MB / 0.9984 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/1.192, allocations: 41.67 kB / 0.9984 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/1.192, allocations: 426.3 kB / 0.9988 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/1.192, allocations: 195.9 kB / 0.999 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/1.192, allocations: 11.66 kB / 0.999 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.192, allocations: 329.6 kB / 0.9993 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.194, allocations: 454.7 kB / 0.9998 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/1.195, allocations: 0.5826 MB / 1 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.196, allocations: 494.1 kB / 1.001 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.196, allocations: 0 / 1.001 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00266/1.199, allocations: 1.16 MB / 1.002 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.199, allocations: 174 kB / 1.002 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.199, allocations: 2.562 kB / 1.002 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.199, allocations: 9.844 kB / 1.002 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.2, allocations: 249.1 kB / 1.002 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000696/1.201, allocations: 1.192 MB / 1.004 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.202, allocations: 197.8 kB / 1.004 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/1.202, allocations: 29.41 kB / 1.004 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.202, allocations: 5.344 kB / 1.004 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00247/1.205, allocations: 1.055 MB / 1.005 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.205, allocations: 0 / 1.005 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/1.205, allocations: 9.781 kB / 1.005 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/1.206, allocations: 224.7 kB / 1.005 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.206, allocations: 2.906 kB / 1.005 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.207, allocations: 194.4 kB / 1.005 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/1.207, allocations: 30.48 kB / 1.005 GB, free: 6.664 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.0005675/1.207, allocations: 340.5 kB / 1.006 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/1.208, allocations: 96.16 kB / 1.006 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/1.21, allocations: 1.198 MB / 1.007 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.21, allocations: 12.69 kB / 1.007 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.21, allocations: 0 / 1.007 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.21, allocations: 3.984 kB / 1.007 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/1.215, allocations: 2.407 MB / 1.009 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.215, allocations: 2.875 kB / 1.009 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009619/1.216, allocations: 222.6 kB / 1.009 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.216, allocations: 5.25 kB / 1.009 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/1.216, allocations: 25.5 kB / 1.009 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006573/1.217, allocations: 1.187 MB / 1.011 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.217, allocations: 6.094 kB / 1.011 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/1.22, allocations: 1.294 MB / 1.012 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/1.22, allocations: 293.3 kB / 1.012 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.22, allocations: 21.44 kB / 1.012 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.221, allocations: 152.7 kB / 1.012 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/1.222, allocations: 54.48 kB / 1.012 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/1.222, allocations: 33.03 kB / 1.012 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008155/1.223, allocations: 0.5751 MB / 1.013 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.223, allocations: 0 / 1.013 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00145/1.224, allocations: 483.1 kB / 1.013 GB, free: 2.809 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.00355/1.228, allocations: 2.026 MB / 1.015 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004316/1.232, allocations: 1.732 MB / 1.017 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.232, allocations: 0 / 1.017 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.233, allocations: 0.6043 MB / 1.018 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.236, allocations: 469.9 kB / 1.018 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.249, allocations: 6.324 MB / 1.024 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/1.25, allocations: 1.045 MB / 1.025 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001506/1.252, allocations: 286.2 kB / 1.026 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/1.252, allocations: 357.1 kB / 1.026 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of SimCode: time 1.943e-06/1.252, allocations: 4 kB / 1.026 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/1.304, allocations: 26.94 MB / 1.052 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003742/1.305, allocations: 271.1 kB / 1.052 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.88, allocations: 3.375 kB / 1.052 GB, free: 1.586 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: