Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 184.8 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009966, allocations: 99.84 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.175e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3308, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.907/6.237, allocations: 2.119 GB / 3.325 GB, free: 175.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/6.238, allocations: 87.83 kB / 3.326 GB, free: 175.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.904/11.14, allocations: 1.378 GB / 4.703 GB, free: 133.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.884e-06/11.14, allocations: 0 / 4.703 GB, free: 133.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006614/11.14, allocations: 135.8 kB / 4.704 GB, free: 133.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.01399/11.16, allocations: 4.839 MB / 4.708 GB, free: 128.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/11.16, allocations: 15.95 kB / 4.708 GB, free: 128.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/11.17, allocations: 1.644 MB / 4.71 GB, free: 126.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/11.18, allocations: 5.828 MB / 4.716 GB, free: 120.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/11.18, allocations: 120 kB / 4.716 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/11.19, allocations: 227.8 kB / 4.716 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008868/11.19, allocations: 4.478 MB / 4.72 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009236/11.2, allocations: 4.646 MB / 4.725 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/11.2, allocations: 11.94 kB / 4.725 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005069/11.2, allocations: 4 kB / 4.725 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.885e-05/11.2, allocations: 163.4 kB / 4.725 GB, free: 110.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.03089/11.24, allocations: 18.47 MB / 4.743 GB, free: 92.04 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/11.24, allocations: 3.26 MB / 4.746 GB, free: 88.78 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/11.24, allocations: 1.63 MB / 4.748 GB, free: 87.14 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002061/11.24, allocations: 2.827 MB / 4.751 GB, free: 83.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002444/11.25, allocations: 1.835 MB / 4.752 GB, free: 81.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=285): time 4.609e-06/11.25, allocations: 0 / 4.752 GB, free: 81.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=285): time 0.06176/11.31, allocations: 8.14 MB / 4.76 GB, free: 73.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/11.31, allocations: 299.3 kB / 4.761 GB, free: 73.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/11.31, allocations: 2.814 MB / 4.763 GB, free: 70.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0007328/11.31, allocations: 29.7 kB / 4.763 GB, free: 70.39 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001667/11.31, allocations: 1.966 MB / 4.765 GB, free: 68.41 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/11.32, allocations: 0.9275 MB / 4.766 GB, free: 67.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/11.32, allocations: 4 kB / 4.766 GB, free: 67.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001573/11.32, allocations: 424.2 kB / 4.767 GB, free: 67.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/11.32, allocations: 1.345 MB / 4.768 GB, free: 65.69 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/11.32, allocations: 1.967 MB / 4.77 GB, free: 63.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1526/11.47, allocations: 13.42 MB / 4.783 GB, free: 50.03 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.351e-05/11.47, allocations: 4 kB / 4.783 GB, free: 50.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.1576/11.63, allocations: 15.54 MB / 4.798 GB, free: 34.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001032/11.63, allocations: 6.451 MB / 4.804 GB, free: 27.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/11.63, allocations: 20 kB / 4.804 GB, free: 27.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/11.63, allocations: 104.8 kB / 4.805 GB, free: 27.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/11.64, allocations: 0.8034 MB / 4.805 GB, free: 26.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/11.64, allocations: 2.097 MB / 4.807 GB, free: 24.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/11.64, allocations: 421 kB / 4.808 GB, free: 23.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009599/11.65, allocations: 167.8 kB / 4.808 GB, free: 23.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/11.65, allocations: 4 kB / 4.808 GB, free: 23.57 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1542/11.8, allocations: 15.16 MB / 4.823 GB, free: 8.355 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/11.8, allocations: 16 kB / 4.823 GB, free: 8.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/11.8, allocations: 117.4 kB / 4.823 GB, free: 8.223 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/11.8, allocations: 0.7918 MB / 4.824 GB, free: 7.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/11.81, allocations: 1.508 MB / 4.825 GB, free: 5.801 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005376/11.81, allocations: 405.4 kB / 4.826 GB, free: 5.402 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008226/11.81, allocations: 155.9 kB / 4.826 GB, free: 5.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 () * 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.0009528/11.81, allocations: 173.2 kB / 4.826 GB, free: 5.074 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.8057/12.62, allocations: 8.129 MB / 4.834 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/12.62, allocations: 359.5 kB / 4.834 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0663/12.69, allocations: 8.986 MB / 4.843 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/12.69, allocations: 33.59 kB / 4.843 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/12.69, allocations: 7.031 kB / 4.843 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06245/12.75, allocations: 8.028 MB / 4.851 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07214/12.82, allocations: 13.36 MB / 4.864 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/12.82, allocations: 1.969 kB / 4.864 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/12.82, allocations: 0.6302 MB / 4.864 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/12.83, allocations: 451.5 kB / 4.865 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003853/12.83, allocations: 69.75 kB / 4.865 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005045/12.83, allocations: 7.468 MB / 4.872 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/12.83, allocations: 0.875 kB / 4.872 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06998/12.9, allocations: 10.51 MB / 4.882 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/12.9, allocations: 1.058 MB / 4.884 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/12.91, allocations: 13.67 kB / 4.884 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004221/12.91, allocations: 273.4 kB / 4.884 GB, free: 227.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/12.91, allocations: 183.6 kB / 4.884 GB, free: 227.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/12.91, allocations: 140.7 kB / 4.884 GB, free: 227.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003547/12.91, allocations: 2.171 MB / 4.886 GB, free: 227.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/12.91, allocations: 0 / 4.886 GB, free: 227.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008426/12.92, allocations: 2.633 MB / 4.889 GB, free: 227.1 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 259 * 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.06749/12.99, allocations: 12.55 MB / 4.901 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008334/13, allocations: 5.569 MB / 4.906 GB, free: 225.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/13, allocations: 3.844 kB / 4.906 GB, free: 225.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/13, allocations: 1.867 MB / 4.908 GB, free: 225.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008457/13.01, allocations: 1.688 MB / 4.91 GB, free: 225.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/13.03, allocations: 9.158 MB / 4.919 GB, free: 223.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002725/13.03, allocations: 3.182 MB / 4.922 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009893/13.04, allocations: 3.396 MB / 4.925 GB, free: 222.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/13.04, allocations: 1.884 MB / 4.927 GB, free: 222.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.62e-07/13.04, allocations: 0 / 4.927 GB, free: 222.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/13.22, allocations: 118.8 MB / 5.043 GB, free: 189.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/13.22, allocations: 181.4 kB / 5.043 GB, free: 188.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.971/19.19, allocations: 3.938 kB / 5.043 GB, free: 188.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)