Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.738/2.738, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 176.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 94.73 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.809e-05, allocations: 0 / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8604, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.252/8.113, allocations: 2.357 GB / 3.321 GB, free: 124.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/8.113, allocations: 94.19 kB / 3.321 GB, free: 124.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.45/19.56, allocations: 2.086 GB / 5.407 GB, free: 173.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/19.56, allocations: 2.75 kB / 5.407 GB, free: 173.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002203/19.57, allocations: 303.5 kB / 5.407 GB, free: 173.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04165/19.61, allocations: 9.574 MB / 5.416 GB, free: 170.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/19.61, allocations: 11.06 kB / 5.416 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01903/19.63, allocations: 2.033 MB / 5.418 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05818/19.69, allocations: 14.73 MB / 5.433 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/19.69, allocations: 280.6 kB / 5.433 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004318/19.69, allocations: 0.5116 MB / 5.433 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03388/19.72, allocations: 10.25 MB / 5.443 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04111/19.77, allocations: 11.5 MB / 5.455 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005567/19.77, allocations: 39.28 kB / 5.455 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003662/19.77, allocations: 14.97 kB / 5.455 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005418/19.77, allocations: 469.2 kB / 5.455 GB, free: 166.8 MB / 0.948 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.1181/19.89, allocations: 48.97 MB / 5.503 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/19.91, allocations: 7.389 MB / 5.51 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009081/19.91, allocations: 3.897 MB / 5.514 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/19.92, allocations: 1.5 MB / 5.515 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01059/19.93, allocations: 3.736 MB / 5.519 GB, free: 129.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.181e-05/19.93, allocations: 0 / 5.519 GB, free: 129.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.1695/20.1, allocations: 11.37 MB / 5.53 GB, free: 119.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/20.1, allocations: 347.1 kB / 5.53 GB, free: 118.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0272/20.12, allocations: 7.676 MB / 5.538 GB, free: 111.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0023/20.13, allocations: 33.7 kB / 5.538 GB, free: 111.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01001/20.14, allocations: 4.886 MB / 5.543 GB, free: 106.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004826/20.14, allocations: 1.852 MB / 5.545 GB, free: 104.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/20.14, allocations: 2.156 kB / 5.545 GB, free: 104.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007673/20.14, allocations: 0.5753 MB / 5.545 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01098/20.16, allocations: 3.137 MB / 5.548 GB, free: 100.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/20.17, allocations: 4.957 MB / 5.553 GB, free: 94.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4132/20.58, allocations: 16.06 MB / 5.569 GB, free: 78.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.527e-05/20.58, allocations: 16 kB / 5.569 GB, free: 78.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.3653/20.95, allocations: 20.73 MB / 5.589 GB, free: 57.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00618/20.95, allocations: 27.49 MB / 5.616 GB, free: 28.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/20.95, allocations: 52 kB / 5.616 GB, free: 28.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/20.95, allocations: 96 kB / 5.616 GB, free: 28.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01678/20.97, allocations: 1.833 MB / 5.618 GB, free: 26.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001707/20.97, allocations: 123.6 kB / 5.618 GB, free: 26.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/20.99, allocations: 1.023 MB / 5.619 GB, free: 25.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002363/20.99, allocations: 331.9 kB / 5.619 GB, free: 24.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/20.99, allocations: 4 kB / 5.619 GB, free: 24.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3597/21.35, allocations: 19.9 MB / 5.639 GB, free: 4.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/21.35, allocations: 60.92 kB / 5.639 GB, free: 4.844 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/21.35, allocations: 96.91 kB / 5.639 GB, free: 4.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/21.37, allocations: 1.829 MB / 5.641 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001568/21.37, allocations: 123.6 kB / 5.641 GB, free: 2.797 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/21.38, allocations: 0.8882 MB / 5.642 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002263/21.39, allocations: 335.9 kB / 5.642 GB, free: 1.574 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003638/21.39, allocations: 302.5 kB / 5.642 GB, free: 1.273 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.8697/22.26, allocations: 11.36 MB / 5.653 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00484/22.27, allocations: 0.8068 MB / 5.654 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.147/22.41, allocations: 12.37 MB / 5.666 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/22.41, allocations: 54.31 kB / 5.666 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/22.41, allocations: 0 / 5.666 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1443/22.56, allocations: 10.71 MB / 5.677 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1874/22.74, allocations: 22.73 MB / 5.699 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/22.74, allocations: 2.969 kB / 5.699 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01639/22.76, allocations: 1.321 MB / 5.7 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/22.76, allocations: 21.17 kB / 5.7 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/22.76, allocations: 111.6 kB / 5.7 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.645e-05/22.76, allocations: 21.62 kB / 5.7 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/22.76, allocations: 0.9375 kB / 5.7 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1586/22.92, allocations: 16.25 MB / 5.716 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/22.93, allocations: 2.357 MB / 5.718 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004432/22.94, allocations: 33.19 kB / 5.718 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01654/22.95, allocations: 0.6108 MB / 5.719 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001837/22.95, allocations: 332.7 kB / 5.719 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001567/22.96, allocations: 287.6 kB / 5.72 GB, free: 168.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01603/22.97, allocations: 5.879 MB / 5.725 GB, free: 167.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.32e-07/22.97, allocations: 0 / 5.725 GB, free: 167.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02857/23, allocations: 5.395 MB / 5.731 GB, free: 167.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1561/23.16, allocations: 18.07 MB / 5.748 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0297/23.19, allocations: 11.99 MB / 5.76 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-05/23.19, allocations: 10.09 kB / 5.76 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008817/23.2, allocations: 3.387 MB / 5.763 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03923/23.24, allocations: 4.755 MB / 5.768 GB, free: 165.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07042/23.31, allocations: 22.3 MB / 5.79 GB, free: 160.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0147/23.32, allocations: 7.129 MB / 5.797 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.05136/23.37, allocations: 8.594 MB / 5.805 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01276/23.38, allocations: 4.341 MB / 5.809 GB, free: 153.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/23.38, allocations: 0.75 kB / 5.809 GB, free: 153.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.41/24.79, allocations: 253.4 MB / 6.057 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/24.8, allocations: 174.4 kB / 6.057 GB, free: 192.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/40.01, allocations: 5.25 kB / 6.057 GB, free: 192.2 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)