Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 171.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 97.91 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 8.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.03526/0.3024, allocations: 38.33 MB / 0.9376 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8117/1.114, allocations: 138 MB / 1.072 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/1.118, allocations: 47.41 kB / 1.072 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/1.12, allocations: 496.1 kB / 1.073 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/1.134, allocations: 3.382 MB / 1.076 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009833/1.144, allocations: 2.484 MB / 1.079 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01285/1.157, allocations: 7.046 MB / 1.085 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/1.167, allocations: 4.623 MB / 1.09 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/1.181, allocations: 5.314 MB / 1.095 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007093/1.188, allocations: 2.36 MB / 1.097 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/1.19, allocations: 178.8 kB / 1.098 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/1.201, allocations: 3.443 MB / 1.101 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002743/1.204, allocations: 0.9391 MB / 1.102 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003572/1.207, allocations: 1.055 MB / 1.103 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01384/1.221, allocations: 7.463 MB / 1.11 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.221, allocations: 0 / 1.11 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.617e-06/1.221, allocations: 0 / 1.11 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003712/1.221, allocations: 0 / 1.11 GB, free: 14.86 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01684/1.238, allocations: 5.118 MB / 1.115 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/1.238, allocations: 8.156 kB / 1.115 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00275/1.241, allocations: 0.5614 MB / 1.116 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/1.255, allocations: 1.774 MB / 1.117 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/1.269, allocations: 4.42 MB / 1.122 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/1.269, allocations: 305.6 kB / 1.122 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/1.271, allocations: 403.2 kB / 1.122 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/1.288, allocations: 5.879 MB / 1.128 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/1.289, allocations: 7.594 kB / 1.128 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006624/1.289, allocations: 170.1 kB / 1.128 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/1.289, allocations: 170.7 kB / 1.129 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/1.305, allocations: 5.669 MB / 1.134 GB, free: 6.355 MB / 0.7136 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.04106/1.346, allocations: 20.88 MB / 1.154 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009002/1.355, allocations: 3.845 MB / 1.158 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002891/1.358, allocations: 2.406 MB / 1.161 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00583/1.364, allocations: 2.139 MB / 1.163 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=284): time 7.274e-06/1.364, allocations: 4 kB / 1.163 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=284): time 0.01835/1.382, allocations: 6.869 MB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.383, allocations: 247.1 kB / 1.17 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006819/1.389, allocations: 3.621 MB / 1.173 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.391, allocations: 81.14 kB / 1.173 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.393, allocations: 2.016 MB / 1.175 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00207/1.395, allocations: 0.9585 MB / 1.176 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/1.395, allocations: 60.5 kB / 1.176 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003087/1.396, allocations: 425.5 kB / 1.177 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.4, allocations: 1.6 MB / 1.178 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004526/1.404, allocations: 2.235 MB / 1.18 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/1.408, allocations: 1.94 MB / 1.182 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.408, allocations: 4 kB / 1.182 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01161/1.42, allocations: 4.494 MB / 1.187 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002719/1.423, allocations: 6.649 MB / 1.193 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.423, allocations: 16 kB / 1.193 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006589/1.424, allocations: 108 kB / 1.193 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/1.428, allocations: 0.7993 MB / 1.194 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/1.431, allocations: 2.172 MB / 1.196 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006273/1.437, allocations: 0.5156 MB / 1.197 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008902/1.438, allocations: 163.1 kB / 1.197 GB, free: 6.805 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.438, allocations: 10.12 kB / 1.197 GB, free: 6.797 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/1.45, allocations: 4.149 MB / 1.201 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-05/1.45, allocations: 16 kB / 1.201 GB, free: 4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/1.451, allocations: 108.8 kB / 1.201 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/1.455, allocations: 0.7837 MB / 1.202 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/1.457, allocations: 1.575 MB / 1.203 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005928/1.463, allocations: 495.9 kB / 1.204 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000847/1.464, allocations: 160.2 kB / 1.204 GB, free: 1.047 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00481/1.469, allocations: 1.544 MB / 1.205 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/1.471, allocations: 395.2 kB / 1.206 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.487, allocations: 5.087 MB / 1.211 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.488, allocations: 32 kB / 1.211 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.488, allocations: 4 kB / 1.211 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009904/1.498, allocations: 4.092 MB / 1.215 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/1.519, allocations: 9.696 MB / 1.224 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.519, allocations: 3.938 kB / 1.224 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/1.523, allocations: 0.6188 MB / 1.225 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/1.526, allocations: 0.6526 MB / 1.226 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004078/1.526, allocations: 97.16 kB / 1.226 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/1.532, allocations: 7.558 MB / 1.233 GB, free: 9.664 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.532, allocations: 2.625 kB / 1.233 GB, free: 9.664 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.548, allocations: 6.858 MB / 1.24 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/1.552, allocations: 1.085 MB / 1.241 GB, free: 4.004 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.553, allocations: 59.98 kB / 1.241 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/1.557, allocations: 319.2 kB / 1.241 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/1.557, allocations: 188.7 kB / 1.241 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/1.557, allocations: 140.3 kB / 1.241 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004206/1.562, allocations: 2.545 MB / 1.244 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.01e-07/1.562, allocations: 0 / 1.244 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009402/1.571, allocations: 2.541 MB / 1.246 GB, free: 15.26 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01835/1.589, allocations: 8.323 MB / 1.255 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01597/1.605, allocations: 6.322 MB / 1.261 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.606, allocations: 0.5625 kB / 1.261 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005594/1.611, allocations: 2.187 MB / 1.263 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/1.622, allocations: 1.883 MB / 1.265 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04568/1.668, allocations: 25.46 MB / 1.29 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005837/1.674, allocations: 3.204 MB / 1.293 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01277/1.686, allocations: 2.321 MB / 1.295 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007073/1.694, allocations: 2.017 MB / 1.297 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of SimCode: time 1.873e-06/1.694, allocations: 4 kB / 1.297 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7461/2.44, allocations: 120.3 MB / 1.414 GB, free: 365.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/2.44, allocations: 266.7 kB / 1.415 GB, free: 364.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.871/8.311, allocations: 0 / 1.415 GB, free: 364.7 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)