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.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.973 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.0009674/0.0009674, allocations: 188.4 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0009644/0.0009643, allocations: 96.72 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.831e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.35/6.575, allocations: 2.475 GB / 3.361 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/6.575, allocations: 98.06 kB / 3.361 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.507/14.08, allocations: 2.038 GB / 5.398 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/14.08, allocations: 0 / 5.398 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001982/14.08, allocations: 305.4 kB / 5.399 GB, free: 150.6 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.03334/14.12, allocations: 9.553 MB / 5.408 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/14.12, allocations: 10.62 kB / 5.408 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/14.13, allocations: 2.026 MB / 5.41 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04136/14.17, allocations: 14.67 MB / 5.424 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008799/14.17, allocations: 284.4 kB / 5.425 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00566/14.18, allocations: 0.5024 MB / 5.425 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0243/14.2, allocations: 10.26 MB / 5.435 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03744/14.24, allocations: 11.34 MB / 5.446 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007014/14.24, allocations: 35.62 kB / 5.446 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00417/14.25, allocations: 16 kB / 5.446 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/14.25, allocations: 468.9 kB / 5.447 GB, free: 126.9 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.09489/14.34, allocations: 48.79 MB / 5.494 GB, free: 76.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/14.35, allocations: 7.385 MB / 5.502 GB, free: 69.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006425/14.36, allocations: 3.905 MB / 5.505 GB, free: 65.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/14.36, allocations: 1.503 MB / 5.507 GB, free: 63.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007462/14.37, allocations: 3.649 MB / 5.51 GB, free: 60.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 1.04e-05/14.37, allocations: 4 kB / 5.51 GB, free: 60.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.07202/14.44, allocations: 11.35 MB / 5.521 GB, free: 48.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/14.44, allocations: 339.1 kB / 5.522 GB, free: 48.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02111/14.46, allocations: 7.684 MB / 5.529 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.002874/14.47, allocations: 37.7 kB / 5.529 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.01079/14.48, allocations: 4.886 MB / 5.534 GB, free: 35.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00523/14.48, allocations: 1.852 MB / 5.536 GB, free: 33.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/14.49, allocations: 4 kB / 5.536 GB, free: 33.81 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0009612/14.49, allocations: 0.5792 MB / 5.536 GB, free: 33.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006291/14.49, allocations: 3.133 MB / 5.54 GB, free: 30.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009133/14.5, allocations: 4.953 MB / 5.544 GB, free: 24.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1565/14.66, allocations: 16.07 MB / 5.56 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/14.66, allocations: 16 kB / 5.56 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.8218/15.48, allocations: 20.72 MB / 5.58 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005444/15.49, allocations: 27.49 MB / 5.607 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/15.49, allocations: 54.38 kB / 5.607 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/15.49, allocations: 95.72 kB / 5.607 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/15.5, allocations: 1.837 MB / 5.609 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002909/15.5, allocations: 122.9 kB / 5.609 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01293/15.51, allocations: 1.013 MB / 5.61 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/15.51, allocations: 334.2 kB / 5.611 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/15.51, allocations: 4.469 kB / 5.611 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1745/15.69, allocations: 19.91 MB / 5.63 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/15.69, allocations: 56.7 kB / 5.63 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/15.69, allocations: 97.66 kB / 5.63 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009438/15.7, allocations: 1.834 MB / 5.632 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001647/15.7, allocations: 124.5 kB / 5.632 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/15.71, allocations: 0.8914 MB / 5.633 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/15.71, allocations: 335.8 kB / 5.633 GB, free: 123.9 MB / 0.8855 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.003972/15.72, allocations: 294.4 kB / 5.633 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07062/15.79, allocations: 11.35 MB / 5.645 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004556/15.79, allocations: 0.8035 MB / 5.645 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07408/15.87, allocations: 12.37 MB / 5.657 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.524e-05/15.87, allocations: 54.62 kB / 5.657 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/15.87, allocations: 7.422 kB / 5.657 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0668/15.93, allocations: 10.7 MB / 5.668 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09977/16.03, allocations: 22.64 MB / 5.69 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/16.03, allocations: 2.625 kB / 5.69 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007367/16.04, allocations: 1.316 MB / 5.691 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/16.04, allocations: 18.56 kB / 5.691 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001183/16.04, allocations: 124.1 kB / 5.691 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/16.04, allocations: 17.47 kB / 5.691 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/16.04, allocations: 7.594 kB / 5.691 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07566/16.12, allocations: 16.23 MB / 5.707 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008925/16.13, allocations: 2.307 MB / 5.71 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003911/16.13, allocations: 31.62 kB / 5.71 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01128/16.14, allocations: 0.6006 MB / 5.71 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001692/16.14, allocations: 337.1 kB / 5.711 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001904/16.15, allocations: 266.5 kB / 5.711 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01597/16.16, allocations: 5.883 MB / 5.717 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.32e-07/16.16, allocations: 3.172 kB / 5.717 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03072/16.19, allocations: 5.376 MB / 5.722 GB, free: 117.4 MB / 0.8855 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.08844/16.28, allocations: 18.04 MB / 5.739 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02606/16.31, allocations: 11.99 MB / 5.751 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.272e-05/16.31, allocations: 13.84 kB / 5.751 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007439/16.31, allocations: 3.385 MB / 5.754 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02843/16.34, allocations: 4.751 MB / 5.759 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06543/16.41, allocations: 22.32 MB / 5.781 GB, free: 91.44 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01261/16.42, allocations: 7.12 MB / 5.788 GB, free: 86.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.03551/16.46, allocations: 8.556 MB / 5.796 GB, free: 80.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01319/16.47, allocations: 4.332 MB / 5.8 GB, free: 76.45 MB / 0.8855 GB Notification: Performance of SimCode: time 2.755e-06/16.47, allocations: 0 / 5.8 GB, free: 76.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/17.53, allocations: 251.6 MB / 6.046 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/17.53, allocations: 182 kB / 6.046 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/27.54, allocations: 3.938 kB / 6.046 GB, free: 163.2 MB / 0.9167 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)