Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001362/0.001362, allocations: 183.2 kB / 371.6 MB, free: 3.359 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.541/1.541, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.000911/0.0009109, allocations: 89.61 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.9e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2756, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.974/7.249, allocations: 2.359 GB / 3.339 GB, free: 192.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/7.25, allocations: 91.66 kB / 3.339 GB, free: 192 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.348/16.6, allocations: 2.097 GB / 5.436 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.004e-06/16.6, allocations: 0 / 5.436 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003677/16.6, allocations: 304.7 kB / 5.436 GB, free: 141.9 MB / 0.9636 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.04763/16.65, allocations: 9.569 MB / 5.445 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/16.65, allocations: 9.125 kB / 5.445 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01903/16.67, allocations: 2.034 MB / 5.447 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05744/16.73, allocations: 14.74 MB / 5.462 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002323/16.73, allocations: 0.6468 MB / 5.462 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007544/16.74, allocations: 0.8652 MB / 5.463 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05931/16.79, allocations: 12.76 MB / 5.476 GB, free: 135 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001184/16.8, allocations: 35.91 kB / 5.476 GB, free: 135 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006822/16.8, allocations: 378.8 kB / 5.476 GB, free: 135 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007163/16.8, allocations: 466.8 kB / 5.477 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03794/16.84, allocations: 11.02 MB / 5.487 GB, free: 134.9 MB / 0.9636 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.1232/16.96, allocations: 50.72 MB / 5.537 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/16.98, allocations: 7.668 MB / 5.544 GB, free: 107 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007261/16.99, allocations: 4.075 MB / 5.548 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/16.99, allocations: 1.501 MB / 5.55 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008341/17, allocations: 3.919 MB / 5.554 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=553): time 7.995e-06/17, allocations: 0 / 5.554 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=553): time 0.01668/17.01, allocations: 6.973 MB / 5.56 GB, free: 99.89 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/17.01, allocations: 346.9 kB / 5.561 GB, free: 99.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02335/17.04, allocations: 8.919 MB / 5.57 GB, free: 96.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002285/17.04, allocations: 137.7 kB / 5.57 GB, free: 96.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.006579/17.05, allocations: 4.935 MB / 5.574 GB, free: 92.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003608/17.05, allocations: 1.937 MB / 5.576 GB, free: 91.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000639/17.05, allocations: 137.9 kB / 5.576 GB, free: 90.98 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004667/17.05, allocations: 0.5757 MB / 5.577 GB, free: 90.56 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004766/17.06, allocations: 3.26 MB / 5.58 GB, free: 89.38 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006074/17.06, allocations: 5.128 MB / 5.585 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007438/17.07, allocations: 4.289 MB / 5.589 GB, free: 84.38 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.171e-05/17.07, allocations: 14.72 kB / 5.589 GB, free: 84.38 MB / 0.9636 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01976/17.09, allocations: 9.491 MB / 5.599 GB, free: 80.81 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.005979/17.1, allocations: 28.52 MB / 5.627 GB, free: 50.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/17.1, allocations: 57.09 kB / 5.627 GB, free: 50.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/17.1, allocations: 99.34 kB / 5.627 GB, free: 50.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009694/17.11, allocations: 1.838 MB / 5.629 GB, free: 50.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/17.11, allocations: 118 kB / 5.629 GB, free: 50.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01391/17.12, allocations: 1.239 MB / 5.63 GB, free: 49.69 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/17.12, allocations: 335.6 kB / 5.63 GB, free: 49.63 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/17.12, allocations: 4.562 kB / 5.63 GB, free: 49.63 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01446/17.14, allocations: 8.735 MB / 5.639 GB, free: 46.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/17.14, allocations: 52.16 kB / 5.639 GB, free: 46.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.475e-05/17.14, allocations: 95.84 kB / 5.639 GB, free: 46.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008136/17.14, allocations: 1.84 MB / 5.641 GB, free: 46.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/17.14, allocations: 123.4 kB / 5.641 GB, free: 46.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/17.16, allocations: 1.115 MB / 5.642 GB, free: 45.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/17.16, allocations: 333.6 kB / 5.642 GB, free: 45.62 MB / 0.9636 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.003698/17.16, allocations: 0.5239 MB / 5.643 GB, free: 45.18 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004551/17.17, allocations: 0.8764 MB / 5.644 GB, free: 44.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/17.19, allocations: 8.126 MB / 5.651 GB, free: 37.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/17.19, allocations: 52 kB / 5.652 GB, free: 37.55 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/17.19, allocations: 6.906 kB / 5.652 GB, free: 37.54 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009624/17.19, allocations: 6.245 MB / 5.658 GB, free: 32.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04272/17.24, allocations: 19.49 MB / 5.677 GB, free: 16.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/17.24, allocations: 0 / 5.677 GB, free: 16.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006156/17.24, allocations: 1.314 MB / 5.678 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/17.24, allocations: 20 kB / 5.678 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006167/17.24, allocations: 179.9 kB / 5.678 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.533e-05/17.24, allocations: 23.94 kB / 5.678 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/17.24, allocations: 3.953 kB / 5.678 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/17.26, allocations: 11.97 MB / 5.69 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00921/17.27, allocations: 2.436 MB / 5.692 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004486/17.28, allocations: 123 kB / 5.692 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/17.29, allocations: 0.7117 MB / 5.693 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/17.29, allocations: 325.7 kB / 5.693 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001134/17.29, allocations: 292.7 kB / 5.694 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0329/17.33, allocations: 8.284 MB / 5.702 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.41e-07/17.33, allocations: 0 / 5.702 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02994/17.36, allocations: 5.61 MB / 5.707 GB, free: 8.926 MB / 0.9792 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.005432/17.36, allocations: 1.378 MB / 5.709 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.7375/18.1, allocations: 12.59 MB / 5.721 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-05/18.1, allocations: 10.19 kB / 5.721 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.009915/18.11, allocations: 3.502 MB / 5.724 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03572/18.14, allocations: 5.568 MB / 5.73 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04963/18.19, allocations: 19.93 MB / 5.749 GB, free: 145.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/18.2, allocations: 7.122 MB / 5.756 GB, free: 144.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03892/18.24, allocations: 9.587 MB / 5.765 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004186/18.25, allocations: 0.6727 MB / 5.766 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of SimCode: time 1.533e-06/18.25, allocations: 0 / 5.766 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.3259/18.57, allocations: 203.9 MB / 5.965 GB, free: 82.64 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)