Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.188/2.188, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001651/0.001651, allocations: 188.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.3 MB / 0.7915 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 99.88 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.341e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.936/5.17, allocations: 2.201 GB / 3.42 GB, free: 85.25 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/5.17, allocations: 83.95 kB / 3.42 GB, free: 85.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.214/13.38, allocations: 2.14 GB / 5.56 GB, free: 193.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.683e-06/13.38, allocations: 0 / 5.56 GB, free: 193.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002359/13.39, allocations: 315.9 kB / 5.56 GB, free: 193.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.03736/13.42, allocations: 9.698 MB / 5.57 GB, free: 183.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/13.42, allocations: 8.031 kB / 5.57 GB, free: 183.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007011/13.43, allocations: 1.228 MB / 5.571 GB, free: 182.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/13.45, allocations: 2.08 MB / 5.573 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04249/13.49, allocations: 15.21 MB / 5.588 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008407/13.49, allocations: 0.6457 MB / 5.589 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004751/13.49, allocations: 0.8804 MB / 5.589 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/13.53, allocations: 12.81 MB / 5.602 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009491/13.54, allocations: 35.72 kB / 5.602 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005845/13.54, allocations: 391.2 kB / 5.602 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006552/13.54, allocations: 461.2 kB / 5.603 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/13.58, allocations: 11.07 MB / 5.614 GB, free: 138.6 MB / 1.167 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.1161/13.69, allocations: 50.94 MB / 5.663 GB, free: 86.38 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/13.71, allocations: 7.646 MB / 5.671 GB, free: 78.78 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007289/13.71, allocations: 4.081 MB / 5.675 GB, free: 74.68 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002289/13.72, allocations: 1.502 MB / 5.676 GB, free: 72.88 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00906/13.73, allocations: 3.935 MB / 5.68 GB, free: 68.87 MB / 1.167 GB Notification: Performance of pre-optimization done (n=554): time 1.01e-05/13.73, allocations: 0 / 5.68 GB, free: 68.87 MB / 1.167 GB Notification: Performance of matching and sorting (n=554): time 0.01828/13.74, allocations: 6.998 MB / 5.687 GB, free: 61.77 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/13.74, allocations: 351 kB / 5.687 GB, free: 61.36 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02783/13.77, allocations: 9.104 MB / 5.696 GB, free: 52.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00273/13.77, allocations: 145.7 kB / 5.696 GB, free: 52.15 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009839/13.78, allocations: 5.023 MB / 5.701 GB, free: 47.09 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005056/13.79, allocations: 1.93 MB / 5.703 GB, free: 45.13 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002127/13.79, allocations: 132 kB / 5.703 GB, free: 45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001031/13.79, allocations: 0.5753 MB / 5.704 GB, free: 44.42 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007614/13.8, allocations: 3.27 MB / 5.707 GB, free: 41.14 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008782/13.81, allocations: 5.146 MB / 5.712 GB, free: 35.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/13.82, allocations: 4.293 MB / 5.716 GB, free: 30.87 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.357e-05/13.82, allocations: 20 kB / 5.716 GB, free: 30.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.0232/13.84, allocations: 9.533 MB / 5.725 GB, free: 21.23 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.9696/14.81, allocations: 28.82 MB / 5.754 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/14.81, allocations: 53.06 kB / 5.754 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/14.81, allocations: 99.95 kB / 5.754 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/14.82, allocations: 1.846 MB / 5.756 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003047/14.82, allocations: 120.1 kB / 5.756 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01541/14.84, allocations: 1.244 MB / 5.757 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003496/14.84, allocations: 336.5 kB / 5.757 GB, free: 212.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/14.84, allocations: 4 kB / 5.757 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02375/14.87, allocations: 8.75 MB / 5.766 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/14.87, allocations: 53.03 kB / 5.766 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/14.87, allocations: 95.34 kB / 5.766 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/14.88, allocations: 1.849 MB / 5.768 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000238/14.88, allocations: 123.5 kB / 5.768 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01348/14.89, allocations: 1.124 MB / 5.769 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/14.89, allocations: 340.4 kB / 5.769 GB, free: 212.4 MB / 1.167 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 (867): * Single equations (assignments): 867 * 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.003625/14.9, allocations: 0.5202 MB / 5.77 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005838/14.9, allocations: 0.8987 MB / 5.771 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/14.92, allocations: 8.178 MB / 5.779 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.301e-05/14.92, allocations: 55.06 kB / 5.779 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/14.92, allocations: 1.188 kB / 5.779 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01453/14.94, allocations: 6.268 MB / 5.785 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06553/15.01, allocations: 19.6 MB / 5.804 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/15.01, allocations: 0 / 5.804 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008091/15.01, allocations: 1.324 MB / 5.805 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/15.01, allocations: 19.12 kB / 5.805 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001723/15.02, allocations: 178.9 kB / 5.805 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.698e-05/15.02, allocations: 26.25 kB / 5.805 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/15.02, allocations: 3.953 kB / 5.805 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/15.04, allocations: 12.03 MB / 5.817 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01045/15.05, allocations: 2.459 MB / 5.82 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005071/15.06, allocations: 120 kB / 5.82 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01242/15.07, allocations: 0.7182 MB / 5.82 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/15.07, allocations: 328.8 kB / 5.821 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002234/15.07, allocations: 290.2 kB / 5.821 GB, free: 208.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02031/15.1, allocations: 7.134 MB / 5.828 GB, free: 208.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/15.1, allocations: 3 kB / 5.828 GB, free: 208.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.03149/15.13, allocations: 5.651 MB / 5.833 GB, free: 208.1 MB / 1.167 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 (575): * Single equations (assignments): 569 * 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.03439/15.16, allocations: 14.05 MB / 5.847 GB, free: 206.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02911/15.19, allocations: 12.62 MB / 5.86 GB, free: 206.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/15.19, allocations: 10.09 kB / 5.86 GB, free: 206.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008305/15.2, allocations: 3.515 MB / 5.863 GB, free: 206.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03271/15.23, allocations: 5.593 MB / 5.868 GB, free: 206 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07149/15.3, allocations: 23.37 MB / 5.891 GB, free: 202.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01224/15.32, allocations: 7.205 MB / 5.898 GB, free: 201.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03698/15.35, allocations: 9.632 MB / 5.908 GB, free: 200 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01295/15.37, allocations: 4.451 MB / 5.912 GB, free: 200 MB / 1.167 GB Notification: Performance of SimCode: time 2.856e-06/15.37, allocations: 0 / 5.912 GB, free: 200 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/16.66, allocations: 295.8 MB / 6.201 GB, free: 212.4 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/16.66, allocations: 208.8 kB / 6.201 GB, free: 212.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/28.62, allocations: 1.859 kB / 6.201 GB, free: 212.2 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)