Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.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.Validation.FlatPlate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001095/0.001095, allocations: 182.6 kB / 321.3 MB, free: 14.65 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.704/1.704, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.0009531/0.000953, allocations: 82.53 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.515e-05/4.518e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2406, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.38/6.62, allocations: 2.475 GB / 3.367 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/6.62, allocations: 87.95 kB / 3.367 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.528/15.15, allocations: 2.048 GB / 5.415 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/15.15, allocations: 2.344 kB / 5.415 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002814/15.15, allocations: 302.1 kB / 5.415 GB, free: 143.3 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.03959/15.19, allocations: 9.554 MB / 5.424 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/15.19, allocations: 10.72 kB / 5.424 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0068/15.2, allocations: 1.219 MB / 5.426 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/15.21, allocations: 2.028 MB / 5.428 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04549/15.26, allocations: 14.67 MB / 5.442 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001142/15.26, allocations: 0.6432 MB / 5.443 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006509/15.27, allocations: 0.8649 MB / 5.443 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04473/15.31, allocations: 12.6 MB / 5.456 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006042/15.31, allocations: 32.5 kB / 5.456 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005201/15.32, allocations: 384.5 kB / 5.456 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000684/15.32, allocations: 460.8 kB / 5.457 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03375/15.35, allocations: 11.02 MB / 5.467 GB, free: 128.3 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.1333/15.49, allocations: 50.54 MB / 5.517 GB, free: 85.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/15.5, allocations: 7.662 MB / 5.524 GB, free: 77.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006802/15.5, allocations: 4.073 MB / 5.528 GB, free: 73.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/15.51, allocations: 1.499 MB / 5.53 GB, free: 71.58 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007895/15.51, allocations: 3.824 MB / 5.533 GB, free: 67.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 9.307e-06/15.51, allocations: 0 / 5.533 GB, free: 67.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.01538/15.53, allocations: 6.963 MB / 5.54 GB, free: 60.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/15.53, allocations: 351 kB / 5.54 GB, free: 60.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01995/15.55, allocations: 8.912 MB / 5.549 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.002431/15.55, allocations: 133.7 kB / 5.549 GB, free: 51.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00704/15.56, allocations: 4.939 MB / 5.554 GB, free: 46.24 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003638/15.56, allocations: 1.932 MB / 5.556 GB, free: 44.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006438/15.56, allocations: 132 kB / 5.556 GB, free: 44.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004831/15.56, allocations: 0.5753 MB / 5.557 GB, free: 43.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00485/15.57, allocations: 3.269 MB / 5.56 GB, free: 40.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/15.58, allocations: 5.13 MB / 5.565 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007282/15.58, allocations: 4.289 MB / 5.569 GB, free: 30.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.134e-05/15.58, allocations: 16 kB / 5.569 GB, free: 30.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02263/15.61, allocations: 9.494 MB / 5.578 GB, free: 20.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0109/15.62, allocations: 28.53 MB / 5.606 GB, free: 6.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/15.62, allocations: 52 kB / 5.606 GB, free: 5.965 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/15.62, allocations: 96 kB / 5.606 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/15.63, allocations: 1.837 MB / 5.608 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002467/15.63, allocations: 119.6 kB / 5.608 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/15.64, allocations: 1.241 MB / 5.609 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002944/15.65, allocations: 331.9 kB / 5.61 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/15.65, allocations: 7.938 kB / 5.61 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7583/16.41, allocations: 8.731 MB / 5.618 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/16.41, allocations: 52.22 kB / 5.618 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/16.41, allocations: 97.5 kB / 5.618 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/16.42, allocations: 1.835 MB / 5.62 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/16.42, allocations: 122.4 kB / 5.62 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01437/16.43, allocations: 1.108 MB / 5.621 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/16.43, allocations: 336.2 kB / 5.622 GB, free: 153.9 MB / 0.9011 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.003402/16.44, allocations: 0.5199 MB / 5.622 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004782/16.44, allocations: 0.8762 MB / 5.623 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02407/16.47, allocations: 8.121 MB / 5.631 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.854e-05/16.47, allocations: 58.16 kB / 5.631 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/16.47, allocations: 0 / 5.631 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01568/16.48, allocations: 6.246 MB / 5.637 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06186/16.54, allocations: 19.38 MB / 5.656 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/16.54, allocations: 7 kB / 5.656 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007308/16.55, allocations: 1.311 MB / 5.657 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/16.55, allocations: 19.19 kB / 5.657 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/16.55, allocations: 183.3 kB / 5.658 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-05/16.55, allocations: 19.25 kB / 5.658 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/16.55, allocations: 3.688 kB / 5.658 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02557/16.58, allocations: 11.96 MB / 5.669 GB, free: 151.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01511/16.59, allocations: 2.393 MB / 5.672 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006403/16.6, allocations: 121.8 kB / 5.672 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01424/16.61, allocations: 0.702 MB / 5.672 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002304/16.62, allocations: 332.6 kB / 5.673 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002491/16.62, allocations: 270.9 kB / 5.673 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02018/16.64, allocations: 6.974 MB / 5.68 GB, free: 150.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.91e-07/16.64, allocations: 0 / 5.68 GB, free: 150.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.03019/16.67, allocations: 5.594 MB / 5.685 GB, free: 149.9 MB / 0.9011 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.02963/16.7, allocations: 13.91 MB / 5.699 GB, free: 148.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02764/16.73, allocations: 12.59 MB / 5.711 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/16.73, allocations: 10.44 kB / 5.711 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007001/16.73, allocations: 3.507 MB / 5.715 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03197/16.77, allocations: 5.557 MB / 5.72 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06407/16.83, allocations: 23.09 MB / 5.743 GB, free: 142.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0127/16.84, allocations: 7.123 MB / 5.75 GB, free: 140.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03949/16.88, allocations: 9.548 MB / 5.759 GB, free: 138.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01034/16.89, allocations: 4.358 MB / 5.763 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.383e-06/16.89, allocations: 0 / 5.763 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.676/18.57, allocations: 290.6 MB / 6.047 GB, free: 149.4 MB / 0.9168 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/18.57, allocations: 213.4 kB / 6.047 GB, free: 149.2 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/31.65, allocations: 0 / 6.047 GB, free: 149.2 MB / 0.9168 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)