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.524/1.524, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 173 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009863/0.0009866, allocations: 97.14 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.957e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2308, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.301/6.532, allocations: 2.228 GB / 3.12 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/6.532, allocations: 98.44 kB / 3.12 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.605/12.14, allocations: 1.41 GB / 4.53 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.834e-06/12.14, allocations: 0 / 4.53 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000834/12.14, allocations: 123.9 kB / 4.53 GB, free: 95.79 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01997/12.16, allocations: 5.522 MB / 4.536 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/12.16, allocations: 12.03 kB / 4.536 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002365/12.16, allocations: 0.5263 MB / 4.536 GB, free: 89.65 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/12.17, allocations: 1.601 MB / 4.538 GB, free: 88.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/12.19, allocations: 5.229 MB / 4.543 GB, free: 82.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/12.19, allocations: 279.5 kB / 4.543 GB, free: 82.49 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/12.19, allocations: 376 kB / 4.543 GB, free: 82.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/12.2, allocations: 5.139 MB / 4.548 GB, free: 76.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-05/12.2, allocations: 3.938 kB / 4.548 GB, free: 76.81 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008714/12.21, allocations: 167.9 kB / 4.549 GB, free: 76.65 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/12.21, allocations: 159.3 kB / 4.549 GB, free: 76.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009957/12.22, allocations: 4.741 MB / 4.553 GB, free: 71.75 MB / 0.8855 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.03893/12.25, allocations: 19.21 MB / 4.572 GB, free: 52.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/12.26, allocations: 3.443 MB / 4.575 GB, free: 48.72 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/12.26, allocations: 1.698 MB / 4.577 GB, free: 47.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002256/12.27, allocations: 2.541 MB / 4.58 GB, free: 43.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004422/12.27, allocations: 1.917 MB / 4.581 GB, free: 41.97 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 9.778e-06/12.27, allocations: 0 / 4.581 GB, free: 41.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.01082/12.28, allocations: 3.791 MB / 4.585 GB, free: 38.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/12.28, allocations: 287.3 kB / 4.585 GB, free: 37.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007794/12.29, allocations: 3.316 MB / 4.589 GB, free: 34.47 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/12.29, allocations: 81.7 kB / 4.589 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/12.29, allocations: 1.945 MB / 4.591 GB, free: 32.42 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002154/12.3, allocations: 0.9665 MB / 4.592 GB, free: 31.44 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008838/12.3, allocations: 60 kB / 4.592 GB, free: 31.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003693/12.3, allocations: 428.1 kB / 4.592 GB, free: 30.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/12.3, allocations: 1.4 MB / 4.593 GB, free: 29.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/12.3, allocations: 2.035 MB / 4.595 GB, free: 27.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/12.31, allocations: 1.745 MB / 4.597 GB, free: 25.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/12.31, allocations: 7.938 kB / 4.597 GB, free: 25.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01157/12.32, allocations: 4.066 MB / 4.601 GB, free: 21.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001266/12.32, allocations: 6.535 MB / 4.607 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/12.32, allocations: 23.98 kB / 4.608 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/12.32, allocations: 116.7 kB / 4.608 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/12.33, allocations: 0.7918 MB / 4.608 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/12.33, allocations: 2.146 MB / 4.61 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/12.34, allocations: 0.5276 MB / 4.611 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/12.34, allocations: 155.9 kB / 4.611 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/12.34, allocations: 11.94 kB / 4.611 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/12.35, allocations: 3.721 MB / 4.615 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.575e-05/12.35, allocations: 16 kB / 4.615 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007987/12.35, allocations: 109.3 kB / 4.615 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/12.35, allocations: 0.7917 MB / 4.616 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/12.36, allocations: 1.559 MB / 4.617 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008369/12.37, allocations: 0.489 MB / 4.618 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/12.37, allocations: 163.8 kB / 4.618 GB, free: 3.344 MB / 0.8855 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 (378): * Single equations (assignments): 376 * 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.002419/12.37, allocations: 285.1 kB / 4.618 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002813/12.37, allocations: 395.2 kB / 4.619 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02454/12.4, allocations: 4.721 MB / 4.623 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-05/12.4, allocations: 28 kB / 4.623 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/12.4, allocations: 0 / 4.623 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01871/12.42, allocations: 3.661 MB / 4.627 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0323/12.45, allocations: 9.534 MB / 4.636 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/12.45, allocations: 0 / 4.636 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.683/13.13, allocations: 0.6125 MB / 4.637 GB, free: 139.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/13.14, allocations: 0.6575 MB / 4.637 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/13.14, allocations: 95.22 kB / 4.637 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/13.14, allocations: 7.524 MB / 4.645 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/13.14, allocations: 1.531 kB / 4.645 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/13.16, allocations: 6.188 MB / 4.651 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005172/13.17, allocations: 1.135 MB / 4.652 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/13.17, allocations: 58.06 kB / 4.652 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006323/13.17, allocations: 322.9 kB / 4.652 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/13.18, allocations: 184.1 kB / 4.652 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007114/13.18, allocations: 141.2 kB / 4.653 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006987/13.18, allocations: 2.61 MB / 4.655 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.91e-07/13.18, allocations: 0 / 4.655 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01345/13.2, allocations: 2.863 MB / 4.658 GB, free: 132.4 MB / 0.9011 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 (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.0175/13.21, allocations: 8.357 MB / 4.666 GB, free: 130.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01348/13.23, allocations: 5.797 MB / 4.672 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/13.23, allocations: 4.031 kB / 4.672 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005028/13.23, allocations: 1.949 MB / 4.674 GB, free: 130.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/13.24, allocations: 1.941 MB / 4.675 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/13.27, allocations: 9.453 MB / 4.685 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/13.27, allocations: 3.144 MB / 4.688 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01326/13.28, allocations: 3.65 MB / 4.691 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00424/13.29, allocations: 1.84 MB / 4.693 GB, free: 128 MB / 0.9011 GB Notification: Performance of SimCode: time 9.71e-07/13.29, allocations: 0.8438 kB / 4.693 GB, free: 128 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/13.51, allocations: 141.1 MB / 4.831 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/13.51, allocations: 235.3 kB / 4.831 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/20.45, allocations: 3.516 kB / 4.831 GB, free: 110.3 MB / 0.9011 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)