Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.454/1.454, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001098/0.001098, allocations: 185.3 kB / 326.5 MB, free: 2.27 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.005/2.005, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009463/0.0009462, allocations: 91.92 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 8.781 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.02569/0.2737, allocations: 30.9 MB / 0.9303 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8367/1.11, allocations: 135.6 MB / 1.063 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/1.114, allocations: 52.44 kB / 1.063 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/1.117, allocations: 0.5171 MB / 1.063 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008446/1.126, allocations: 1.688 MB / 1.065 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007068/1.133, allocations: 1.737 MB / 1.067 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0136/1.146, allocations: 6.819 MB / 1.073 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/1.157, allocations: 4.544 MB / 1.078 GB, free: 19.19 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/1.168, allocations: 2.764 MB / 1.08 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007362/1.175, allocations: 2.287 MB / 1.083 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00151/1.177, allocations: 174.8 kB / 1.083 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/1.183, allocations: 0.9913 MB / 1.084 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00178/1.185, allocations: 0.9038 MB / 1.085 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004328/1.189, allocations: 1.041 MB / 1.086 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/1.202, allocations: 6.798 MB / 1.092 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/1.202, allocations: 0 / 1.092 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.875e-06/1.202, allocations: 0 / 1.092 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003322/1.202, allocations: 0 / 1.092 GB, free: 18.72 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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01414/1.216, allocations: 4.946 MB / 1.097 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.217, allocations: 10.97 kB / 1.097 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002478/1.219, allocations: 0.5582 MB / 1.098 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0094/1.228, allocations: 1.425 MB / 1.099 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/1.242, allocations: 4.594 MB / 1.104 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/1.242, allocations: 305.2 kB / 1.104 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/1.244, allocations: 398.4 kB / 1.104 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/1.261, allocations: 5.737 MB / 1.11 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/1.262, allocations: 10.03 kB / 1.11 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005833/1.262, allocations: 174.7 kB / 1.11 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/1.262, allocations: 178.5 kB / 1.11 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/1.28, allocations: 5.599 MB / 1.116 GB, free: 11.91 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.04741/1.328, allocations: 20.18 MB / 1.135 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009478/1.337, allocations: 3.618 MB / 1.139 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/1.34, allocations: 1.916 MB / 1.141 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006616/1.347, allocations: 2.032 MB / 1.143 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=266): time 9.758e-06/1.347, allocations: 0 / 1.143 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.01647/1.364, allocations: 5.127 MB / 1.148 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/1.364, allocations: 243 kB / 1.148 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008524/1.372, allocations: 3.763 MB / 1.152 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.373, allocations: 75.7 kB / 1.152 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.376, allocations: 2.042 MB / 1.154 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.378, allocations: 0.9043 MB / 1.155 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.378, allocations: 61.31 kB / 1.155 GB, free: 8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002658/1.378, allocations: 424.1 kB / 1.155 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/1.382, allocations: 1.553 MB / 1.157 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/1.387, allocations: 2.238 MB / 1.159 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/1.391, allocations: 1.891 MB / 1.161 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/1.391, allocations: 8 kB / 1.161 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01123/1.402, allocations: 4.381 MB / 1.165 GB, free: 328 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003648/1.406, allocations: 7.618 MB / 1.172 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/1.406, allocations: 20 kB / 1.172 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/1.407, allocations: 114 kB / 1.172 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/1.411, allocations: 0.8012 MB / 1.173 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/1.414, allocations: 1.587 MB / 1.175 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00569/1.419, allocations: 0.5286 MB / 1.175 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007912/1.42, allocations: 148.7 kB / 1.175 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.42, allocations: 7.953 kB / 1.175 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00969/1.43, allocations: 4.045 MB / 1.179 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/1.43, allocations: 16 kB / 1.179 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/1.43, allocations: 115.8 kB / 1.18 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/1.434, allocations: 0.8052 MB / 1.18 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/1.437, allocations: 1.582 MB / 1.182 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/1.442, allocations: 490.9 kB / 1.182 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/1.443, allocations: 147.4 kB / 1.182 GB, free: 15.47 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (372): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.004517/1.447, allocations: 1.533 MB / 1.184 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.449, allocations: 383.3 kB / 1.184 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/1.46, allocations: 4.495 MB / 1.189 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/1.46, allocations: 32 kB / 1.189 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.46, allocations: 3.953 kB / 1.189 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007419/1.467, allocations: 3.504 MB / 1.192 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/1.488, allocations: 9.305 MB / 1.201 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.488, allocations: 4 kB / 1.201 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/1.491, allocations: 0.6314 MB / 1.202 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/1.491, allocations: 91.66 kB / 1.202 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/1.492, allocations: 91.78 kB / 1.202 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/1.494, allocations: 1.597 MB / 1.204 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.494, allocations: 4 kB / 1.204 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.508, allocations: 6.719 MB / 1.21 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/1.511, allocations: 1.064 MB / 1.211 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009781/1.512, allocations: 65.45 kB / 1.211 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/1.516, allocations: 324.9 kB / 1.212 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/1.516, allocations: 190.4 kB / 1.212 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/1.516, allocations: 129.5 kB / 1.212 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004716/1.521, allocations: 2.658 MB / 1.215 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/1.521, allocations: 1.859 kB / 1.215 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008791/1.53, allocations: 2.297 MB / 1.217 GB, free: 5.25 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (284): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01736/1.547, allocations: 8.987 MB / 1.226 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.562, allocations: 6.16 MB / 1.232 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/1.562, allocations: 0.5625 kB / 1.232 GB, free: 9.863 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004757/1.567, allocations: 2.015 MB / 1.234 GB, free: 8.438 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/1.578, allocations: 2.044 MB / 1.236 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04357/1.622, allocations: 26.86 MB / 1.262 GB, free: 12.46 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006441/1.628, allocations: 3.18 MB / 1.265 GB, free: 9.609 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01171/1.64, allocations: 2.053 MB / 1.267 GB, free: 7.551 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005398/1.646, allocations: 1.957 MB / 1.269 GB, free: 7.062 MB / 0.823 GB Notification: Performance of SimCode: time 3.616e-06/1.646, allocations: 0 / 1.269 GB, free: 7.062 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.214/1.86, allocations: 116.9 MB / 1.383 GB, free: 2.953 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.86, allocations: 286 kB / 1.383 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.597/7.457, allocations: 0 / 1.383 GB, free: 2.586 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)