Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001391/0.001391, allocations: 172.9 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008923/0.0008923, allocations: 101.5 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.06e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7205, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.364/7.084, allocations: 2.357 GB / 3.322 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/7.085, allocations: 91.95 kB / 3.322 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.812/15.9, allocations: 2.086 GB / 5.408 GB, free: 166.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/15.9, allocations: 1.688 kB / 5.408 GB, free: 166.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00261/15.9, allocations: 301.9 kB / 5.408 GB, free: 166.9 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.03639/15.94, allocations: 9.58 MB / 5.417 GB, free: 163.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/15.94, allocations: 6.969 kB / 5.417 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/15.95, allocations: 2.034 MB / 5.419 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04639/16, allocations: 14.73 MB / 5.434 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009666/16, allocations: 278.6 kB / 5.434 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00572/16, allocations: 0.5053 MB / 5.434 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03805/16.04, allocations: 10.26 MB / 5.444 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05265/16.09, allocations: 11.5 MB / 5.456 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007472/16.09, allocations: 37.34 kB / 5.456 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004179/16.1, allocations: 18.38 kB / 5.456 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006153/16.1, allocations: 460 kB / 5.456 GB, free: 160 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.09297/16.19, allocations: 48.97 MB / 5.504 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/16.21, allocations: 7.386 MB / 5.511 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006225/16.21, allocations: 3.902 MB / 5.515 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/16.21, allocations: 1.495 MB / 5.517 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006788/16.22, allocations: 3.747 MB / 5.52 GB, free: 128.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 8.677e-06/16.22, allocations: 2.469 kB / 5.52 GB, free: 128.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.06953/16.29, allocations: 11.36 MB / 5.531 GB, free: 125.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/16.29, allocations: 342.2 kB / 5.532 GB, free: 125.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/16.3, allocations: 7.687 MB / 5.539 GB, free: 122.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001892/16.31, allocations: 34.2 kB / 5.539 GB, free: 122.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005926/16.31, allocations: 4.883 MB / 5.544 GB, free: 119 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004212/16.32, allocations: 1.856 MB / 5.546 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008097/16.32, allocations: 0 / 5.546 GB, free: 117.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006127/16.32, allocations: 0.5777 MB / 5.546 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007113/16.33, allocations: 3.134 MB / 5.549 GB, free: 115.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009653/16.34, allocations: 4.958 MB / 5.554 GB, free: 112.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2451/16.58, allocations: 16.07 MB / 5.57 GB, free: 104.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/16.58, allocations: 16 kB / 5.57 GB, free: 104.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.2658/16.85, allocations: 20.73 MB / 5.59 GB, free: 86.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006234/16.85, allocations: 27.48 MB / 5.617 GB, free: 56.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/16.85, allocations: 59.95 kB / 5.617 GB, free: 56.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/16.85, allocations: 99.84 kB / 5.617 GB, free: 56.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009546/16.86, allocations: 1.833 MB / 5.619 GB, free: 54.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/16.86, allocations: 127.3 kB / 5.619 GB, free: 54.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01313/16.88, allocations: 1.026 MB / 5.62 GB, free: 53.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/16.88, allocations: 328.7 kB / 5.62 GB, free: 53.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/16.88, allocations: 4 kB / 5.62 GB, free: 53.14 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1688/17.05, allocations: 19.91 MB / 5.64 GB, free: 33.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/17.05, allocations: 56.95 kB / 5.64 GB, free: 33.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-05/17.05, allocations: 96 kB / 5.64 GB, free: 33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009476/17.06, allocations: 1.837 MB / 5.642 GB, free: 31.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001581/17.06, allocations: 119.6 kB / 5.642 GB, free: 31.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/17.07, allocations: 0.8882 MB / 5.643 GB, free: 30.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/17.07, allocations: 335.8 kB / 5.643 GB, free: 29.82 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.002558/17.07, allocations: 294.8 kB / 5.643 GB, free: 29.52 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0681/17.14, allocations: 11.35 MB / 5.654 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004342/17.15, allocations: 0.8105 MB / 5.655 GB, free: 17.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07252/17.22, allocations: 12.37 MB / 5.667 GB, free: 4.812 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/17.22, allocations: 56 kB / 5.667 GB, free: 4.758 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/17.22, allocations: 4 kB / 5.667 GB, free: 4.754 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06734/17.29, allocations: 10.7 MB / 5.678 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7857/18.07, allocations: 22.75 MB / 5.7 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/18.07, allocations: 1.438 kB / 5.7 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007053/18.08, allocations: 1.31 MB / 5.701 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.657e-05/18.08, allocations: 23.27 kB / 5.701 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009272/18.08, allocations: 116.6 kB / 5.701 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-05/18.08, allocations: 19.98 kB / 5.701 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/18.08, allocations: 3.75 kB / 5.701 GB, free: 172.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07665/18.16, allocations: 16.24 MB / 5.717 GB, free: 171.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009086/18.17, allocations: 2.353 MB / 5.72 GB, free: 171.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004617/18.17, allocations: 37.38 kB / 5.72 GB, free: 171.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01261/18.18, allocations: 0.6086 MB / 5.72 GB, free: 171.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001668/18.19, allocations: 325.1 kB / 5.721 GB, free: 171.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001226/18.19, allocations: 295.7 kB / 5.721 GB, free: 171.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01397/18.2, allocations: 5.881 MB / 5.727 GB, free: 171.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.41e-07/18.2, allocations: 0 / 5.727 GB, free: 171.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03261/18.23, allocations: 5.391 MB / 5.732 GB, free: 170.7 MB / 0.9636 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.08817/18.32, allocations: 18.07 MB / 5.749 GB, free: 169 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02939/18.35, allocations: 11.99 MB / 5.761 GB, free: 168.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-05/18.35, allocations: 10.09 kB / 5.761 GB, free: 168.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006994/18.36, allocations: 3.386 MB / 5.764 GB, free: 168.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02933/18.39, allocations: 4.758 MB / 5.769 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06084/18.45, allocations: 22.33 MB / 5.791 GB, free: 164.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008558/18.46, allocations: 7.116 MB / 5.798 GB, free: 163.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03291/18.49, allocations: 8.591 MB / 5.806 GB, free: 162.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/18.5, allocations: 4.339 MB / 5.811 GB, free: 162.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.462e-06/18.5, allocations: 4 kB / 5.811 GB, free: 162.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.019/19.52, allocations: 253.5 MB / 6.058 GB, free: 140.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/19.52, allocations: 186.5 kB / 6.058 GB, free: 139.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/31.31, allocations: 3.438 kB / 6.058 GB, free: 139.9 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)