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.888/1.888, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001318/0.001317, allocations: 185 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.408/2.408, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009529/0.0009531, allocations: 93.19 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005773/0.0005773, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3711, allocations: 116.3 MB / 0.9883 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.151/7.522, allocations: 2.359 GB / 3.348 GB, free: 183.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/7.522, allocations: 96.92 kB / 3.348 GB, free: 183.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.819/16.34, allocations: 2.102 GB / 5.45 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.697e-06/16.34, allocations: 0.7812 kB / 5.45 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003201/16.34, allocations: 301.2 kB / 5.45 GB, free: 144.1 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.05832/16.4, allocations: 11.69 MB / 5.462 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/16.4, allocations: 9.344 kB / 5.462 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/16.42, allocations: 2.045 MB / 5.464 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04809/16.47, allocations: 14.79 MB / 5.478 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009048/16.47, allocations: 0.6472 MB / 5.479 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00479/16.47, allocations: 0.8673 MB / 5.479 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04397/16.52, allocations: 13.24 MB / 5.492 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004364/16.52, allocations: 34.41 kB / 5.492 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/16.52, allocations: 379.8 kB / 5.493 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004215/16.52, allocations: 465 kB / 5.493 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/16.55, allocations: 11.84 MB / 5.505 GB, free: 136.3 MB / 0.9636 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.1232/16.68, allocations: 50.73 MB / 5.554 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/16.7, allocations: 8.235 MB / 5.562 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/16.7, allocations: 1.5 MB / 5.564 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01276/16.71, allocations: 4.215 MB / 5.568 GB, free: 102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=553): time 1.188e-05/16.71, allocations: 0 / 5.568 GB, free: 102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=553): time 0.03581/16.75, allocations: 10.57 MB / 5.578 GB, free: 98.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/16.75, allocations: 350.5 kB / 5.579 GB, free: 97.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02812/16.78, allocations: 8.998 MB / 5.587 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002528/16.78, allocations: 139.2 kB / 5.588 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.007956/16.79, allocations: 4.943 MB / 5.592 GB, free: 90.92 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.004231/16.79, allocations: 1.923 MB / 5.594 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/16.79, allocations: 134.1 kB / 5.594 GB, free: 89.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005867/16.79, allocations: 0.5756 MB / 5.595 GB, free: 88.92 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008172/16.8, allocations: 3.568 MB / 5.598 GB, free: 87.71 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/16.81, allocations: 5.438 MB / 5.604 GB, free: 84.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009573/16.82, allocations: 4.561 MB / 5.608 GB, free: 82.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.274e-05/16.82, allocations: 22.34 kB / 5.608 GB, free: 82.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03631/16.86, allocations: 10.1 MB / 5.618 GB, free: 78.28 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.009836/16.87, allocations: 28.52 MB / 5.646 GB, free: 47.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002542/16.87, allocations: 55.95 kB / 5.646 GB, free: 47.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/16.87, allocations: 100 kB / 5.646 GB, free: 47.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/16.88, allocations: 1.837 MB / 5.648 GB, free: 46.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002377/16.88, allocations: 121.9 kB / 5.648 GB, free: 46.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/16.9, allocations: 1.243 MB / 5.649 GB, free: 45.01 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002909/16.9, allocations: 332.7 kB / 5.65 GB, free: 44.72 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/16.9, allocations: 5.094 kB / 5.65 GB, free: 44.71 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02509/16.93, allocations: 9.346 MB / 5.659 GB, free: 36.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/16.93, allocations: 55.94 kB / 5.659 GB, free: 36.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.298e-05/16.93, allocations: 96 kB / 5.659 GB, free: 36.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009646/16.94, allocations: 1.833 MB / 5.661 GB, free: 34.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002268/16.94, allocations: 127.1 kB / 5.661 GB, free: 34.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/16.95, allocations: 1.11 MB / 5.662 GB, free: 33.92 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002669/16.95, allocations: 333.4 kB / 5.662 GB, free: 33.63 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 () * 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.01303/16.97, allocations: 3.98 MB / 5.666 GB, free: 30.36 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005483/16.97, allocations: 0.8762 MB / 5.667 GB, free: 29.47 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02774/17, allocations: 8.707 MB / 5.675 GB, free: 22.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/17, allocations: 56 kB / 5.675 GB, free: 22.21 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/17, allocations: 0 / 5.675 GB, free: 22.21 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01758/17.02, allocations: 6.838 MB / 5.682 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8815/17.9, allocations: 20.05 MB / 5.702 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/17.9, allocations: 4.312 kB / 5.702 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009651/17.91, allocations: 1.317 MB / 5.703 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/17.91, allocations: 20.75 kB / 5.703 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/17.91, allocations: 177.4 kB / 5.703 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-05/17.91, allocations: 24.09 kB / 5.703 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/17.91, allocations: 7.328 kB / 5.703 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/17.95, allocations: 12.84 MB / 5.716 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01281/17.96, allocations: 2.435 MB / 5.718 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006927/17.97, allocations: 124.5 kB / 5.718 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01555/17.98, allocations: 0.7079 MB / 5.719 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002628/17.98, allocations: 327.3 kB / 5.719 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002854/17.99, allocations: 289 kB / 5.719 GB, free: 139 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02278/18.01, allocations: 7.061 MB / 5.726 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.383e-06/18.01, allocations: 0 / 5.726 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0411/18.05, allocations: 5.621 MB / 5.732 GB, free: 138.4 MB / 0.9636 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.008465/18.06, allocations: 1.457 MB / 5.733 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04176/18.1, allocations: 13.2 MB / 5.746 GB, free: 138 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.769e-05/18.1, allocations: 11.69 kB / 5.746 GB, free: 138 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0133/18.11, allocations: 3.795 MB / 5.75 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04156/18.16, allocations: 5.581 MB / 5.755 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08864/18.24, allocations: 26.99 MB / 5.782 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01842/18.26, allocations: 7.111 MB / 5.789 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03793/18.3, allocations: 6.095 MB / 5.795 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009035/18.31, allocations: 0.8519 MB / 5.795 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of SimCode: time 2.064e-06/18.31, allocations: 0 / 5.795 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.3319/18.64, allocations: 190 MB / 5.981 GB, free: 46.25 MB / 0.9636 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)