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: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001033, allocations: 186.7 kB / 327.6 MB, free: 2.172 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.862/1.862, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0008436/0.0008436, allocations: 86.36 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 15.91 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2525, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.548, allocations: 2.475 GB / 3.376 GB, free: 78.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/5.548, allocations: 97.45 kB / 3.376 GB, free: 78.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.935/11.48, allocations: 2.042 GB / 5.419 GB, free: 73.28 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/11.48, allocations: 0 / 5.419 GB, free: 73.28 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00178/11.48, allocations: 303.7 kB / 5.419 GB, free: 72.98 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.0346/11.52, allocations: 11.55 MB / 5.43 GB, free: 61.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/11.52, allocations: 8.031 kB / 5.43 GB, free: 61.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/11.53, allocations: 2.039 MB / 5.432 GB, free: 59.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/11.57, allocations: 14.12 MB / 5.446 GB, free: 45.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008492/11.57, allocations: 0.6503 MB / 5.447 GB, free: 44.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/11.57, allocations: 0.8634 MB / 5.448 GB, free: 43.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03519/11.61, allocations: 13.14 MB / 5.46 GB, free: 29.94 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005888/11.61, allocations: 31.66 kB / 5.46 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003628/11.61, allocations: 384 kB / 5.461 GB, free: 29.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003831/11.61, allocations: 464.9 kB / 5.461 GB, free: 29.08 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/11.64, allocations: 11.85 MB / 5.473 GB, free: 17.21 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.9656/12.6, allocations: 50.06 MB / 5.522 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/12.62, allocations: 8.122 MB / 5.53 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00811/12.63, allocations: 4.379 MB / 5.534 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/12.63, allocations: 1.492 MB / 5.535 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007446/12.64, allocations: 4.137 MB / 5.539 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 7.745e-06/12.64, allocations: 0.75 kB / 5.539 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.0204/12.66, allocations: 10.57 MB / 5.55 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/12.66, allocations: 342.2 kB / 5.55 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01628/12.67, allocations: 9.067 MB / 5.559 GB, free: 100 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/12.67, allocations: 142.1 kB / 5.559 GB, free: 99.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.005514/12.68, allocations: 4.934 MB / 5.564 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002991/12.68, allocations: 1.919 MB / 5.566 GB, free: 97.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/12.68, allocations: 135.9 kB / 5.566 GB, free: 97.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004086/12.68, allocations: 0.5856 MB / 5.566 GB, free: 97.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006214/12.69, allocations: 3.562 MB / 5.57 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0073/12.7, allocations: 5.467 MB / 5.575 GB, free: 95.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/12.71, allocations: 9.423 MB / 5.584 GB, free: 93.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.973e-05/12.71, allocations: 19.17 kB / 5.584 GB, free: 93.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02076/12.73, allocations: 10.11 MB / 5.594 GB, free: 92.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008982/12.73, allocations: 1.707 MB / 5.596 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/12.73, allocations: 52.62 kB / 5.596 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.223e-05/12.73, allocations: 88.44 kB / 5.596 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007576/12.74, allocations: 1.721 MB / 5.598 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001623/12.74, allocations: 124.5 kB / 5.598 GB, free: 90.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/12.75, allocations: 1.164 MB / 5.599 GB, free: 90.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/12.75, allocations: 336.2 kB / 5.599 GB, free: 90.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/12.75, allocations: 3.938 kB / 5.599 GB, free: 90.36 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02106/12.78, allocations: 9.343 MB / 5.609 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/12.78, allocations: 53.38 kB / 5.609 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/12.78, allocations: 85.94 kB / 5.609 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008015/12.78, allocations: 1.718 MB / 5.61 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002076/12.78, allocations: 126 kB / 5.61 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/12.8, allocations: 1.052 MB / 5.611 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/12.8, allocations: 333 kB / 5.612 GB, free: 89.87 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 () * Number of clocked 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.009639/12.81, allocations: 3.981 MB / 5.616 GB, free: 89.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003892/12.81, allocations: 0.8687 MB / 5.617 GB, free: 89.19 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0236/12.84, allocations: 8.689 MB / 5.625 GB, free: 88.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/12.84, allocations: 53.41 kB / 5.625 GB, free: 88.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/12.84, allocations: 0 / 5.625 GB, free: 88.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01376/12.85, allocations: 6.829 MB / 5.632 GB, free: 88.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05243/12.9, allocations: 19.7 MB / 5.651 GB, free: 86.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/12.9, allocations: 0 / 5.651 GB, free: 86.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006875/12.91, allocations: 1.386 MB / 5.652 GB, free: 86.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.029e-05/12.91, allocations: 19.28 kB / 5.652 GB, free: 86.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001283/12.91, allocations: 174.9 kB / 5.653 GB, free: 86.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/12.91, allocations: 21.06 kB / 5.653 GB, free: 86.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/12.91, allocations: 0 / 5.653 GB, free: 86.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/12.94, allocations: 12.69 MB / 5.665 GB, free: 81.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007977/12.94, allocations: 2.251 MB / 5.667 GB, free: 80.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003629/12.95, allocations: 120.9 kB / 5.667 GB, free: 80.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/12.96, allocations: 0.6922 MB / 5.668 GB, free: 80.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/12.96, allocations: 327.7 kB / 5.668 GB, free: 80.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001258/12.96, allocations: 264.7 kB / 5.668 GB, free: 80.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01352/12.97, allocations: 6.349 MB / 5.675 GB, free: 77.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/12.97, allocations: 1.219 kB / 5.675 GB, free: 77.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0207/12.99, allocations: 5.538 MB / 5.68 GB, free: 76.84 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) * Number of clocked states: 0 () * 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.004142/13, allocations: 1.435 MB / 5.681 GB, free: 76.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02486/13.02, allocations: 13.22 MB / 5.694 GB, free: 72.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/13.02, allocations: 6.188 kB / 5.694 GB, free: 72.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/13.03, allocations: 3.795 MB / 5.698 GB, free: 71.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03344/13.06, allocations: 5.588 MB / 5.704 GB, free: 69.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05062/13.11, allocations: 27.13 MB / 5.73 GB, free: 45.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01216/13.13, allocations: 6.905 MB / 5.737 GB, free: 40.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02455/13.15, allocations: 5.97 MB / 5.743 GB, free: 36.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00515/13.16, allocations: 0.8455 MB / 5.743 GB, free: 35.46 MB / 0.8855 GB Notification: Performance of SimCode: time 1.022e-06/13.16, allocations: 0 / 5.743 GB, free: 35.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.7085/13.87, allocations: 188 MB / 5.927 GB, free: 141.8 MB / 0.9168 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)