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.598/1.598, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.00131/0.001311, allocations: 180.8 kB / 366.7 MB, free: 1.66 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.444/1.444, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0008508/0.0008508, allocations: 87.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.537e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6155, allocations: 116.3 MB / 0.9732 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.814/5.43, allocations: 2.358 GB / 3.332 GB, free: 83.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/5.43, allocations: 89.89 kB / 3.332 GB, free: 83.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.003/13.43, allocations: 2.086 GB / 5.418 GB, free: 166 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/13.43, allocations: 0 / 5.418 GB, free: 166 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00228/13.44, allocations: 305.1 kB / 5.418 GB, free: 165.9 MB / 0.948 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.04244/13.48, allocations: 9.566 MB / 5.427 GB, free: 160 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/13.48, allocations: 11.66 kB / 5.427 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/13.49, allocations: 2.039 MB / 5.429 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0455/13.54, allocations: 14.73 MB / 5.444 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00066/13.54, allocations: 280.7 kB / 5.444 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/13.54, allocations: 0.5094 MB / 5.444 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02616/13.57, allocations: 10.25 MB / 5.454 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03876/13.61, allocations: 11.51 MB / 5.466 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000568/13.61, allocations: 31.72 kB / 5.466 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004445/13.61, allocations: 16 kB / 5.466 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003942/13.62, allocations: 468.9 kB / 5.466 GB, free: 128.1 MB / 0.948 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.1159/13.73, allocations: 48.96 MB / 5.514 GB, free: 77.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/13.75, allocations: 7.385 MB / 5.521 GB, free: 70.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007423/13.75, allocations: 3.898 MB / 5.525 GB, free: 66.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/13.75, allocations: 1.502 MB / 5.526 GB, free: 64.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00875/13.76, allocations: 3.739 MB / 5.53 GB, free: 61.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.03e-05/13.76, allocations: 0 / 5.53 GB, free: 61.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.07204/13.84, allocations: 11.37 MB / 5.541 GB, free: 49.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/13.84, allocations: 339.1 kB / 5.542 GB, free: 49.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/13.85, allocations: 7.684 MB / 5.549 GB, free: 41.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002205/13.86, allocations: 33.7 kB / 5.549 GB, free: 41.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006031/13.86, allocations: 4.89 MB / 5.554 GB, free: 36.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003655/13.87, allocations: 1.848 MB / 5.556 GB, free: 34.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005691/13.87, allocations: 3.844 kB / 5.556 GB, free: 34.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004621/13.87, allocations: 0.5791 MB / 5.556 GB, free: 34.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/13.87, allocations: 3.129 MB / 5.559 GB, free: 31.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00507/13.88, allocations: 4.972 MB / 5.564 GB, free: 25.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1531/14.03, allocations: 16.06 MB / 5.58 GB, free: 9.152 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.99e-05/14.03, allocations: 16 kB / 5.58 GB, free: 9.137 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.1736/14.2, allocations: 20.73 MB / 5.6 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.8363/15.04, allocations: 27.49 MB / 5.627 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004972/15.04, allocations: 56.59 kB / 5.627 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/15.04, allocations: 95.88 kB / 5.627 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01658/15.06, allocations: 1.827 MB / 5.629 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005826/15.06, allocations: 123.2 kB / 5.629 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01947/15.08, allocations: 1.014 MB / 5.63 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003618/15.08, allocations: 334 kB / 5.63 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/15.08, allocations: 4 kB / 5.63 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1754/15.26, allocations: 19.91 MB / 5.65 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003463/15.26, allocations: 52.84 kB / 5.65 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/15.26, allocations: 96.94 kB / 5.65 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/15.27, allocations: 1.83 MB / 5.652 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003608/15.27, allocations: 122.5 kB / 5.652 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01406/15.28, allocations: 0.8994 MB / 5.653 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003007/15.29, allocations: 337.6 kB / 5.653 GB, free: 160.1 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.005208/15.29, allocations: 294.7 kB / 5.653 GB, free: 160 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005838/15.3, allocations: 0.7999 MB / 5.654 GB, free: 160 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08461/15.38, allocations: 12.38 MB / 5.666 GB, free: 159.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.813e-05/15.38, allocations: 55.27 kB / 5.666 GB, free: 159.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.114e-05/15.38, allocations: 0 / 5.666 GB, free: 159.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0757/15.46, allocations: 10.7 MB / 5.677 GB, free: 159.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.109/15.57, allocations: 22.75 MB / 5.699 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/15.57, allocations: 0 / 5.699 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007036/15.57, allocations: 1.316 MB / 5.7 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.541e-05/15.57, allocations: 19.09 kB / 5.7 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000829/15.58, allocations: 115.3 kB / 5.7 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.391e-05/15.58, allocations: 24.78 kB / 5.7 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/15.58, allocations: 6.297 kB / 5.7 GB, free: 158 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07393/15.65, allocations: 16.24 MB / 5.716 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01353/15.66, allocations: 2.348 MB / 5.718 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00581/15.67, allocations: 32.69 kB / 5.719 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01278/15.68, allocations: 0.6082 MB / 5.719 GB, free: 156 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001987/15.68, allocations: 328.3 kB / 5.719 GB, free: 156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002312/15.69, allocations: 291.1 kB / 5.72 GB, free: 156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01541/15.7, allocations: 5.886 MB / 5.725 GB, free: 155.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3e-07/15.7, allocations: 0 / 5.725 GB, free: 155.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03273/15.73, allocations: 5.389 MB / 5.731 GB, free: 155.3 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) * 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.005674/15.74, allocations: 1.22 MB / 5.732 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02945/15.77, allocations: 11.99 MB / 5.744 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.918e-05/15.77, allocations: 10.66 kB / 5.744 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00889/15.78, allocations: 3.398 MB / 5.747 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.031/15.81, allocations: 4.758 MB / 5.752 GB, free: 154.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06555/15.88, allocations: 19.37 MB / 5.77 GB, free: 150 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01908/15.89, allocations: 7.12 MB / 5.777 GB, free: 149 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.04278/15.94, allocations: 8.599 MB / 5.786 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006673/15.94, allocations: 0.6432 MB / 5.786 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/15.94, allocations: 6.156 kB / 5.786 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.2717/16.22, allocations: 169.2 MB / 5.952 GB, free: 2.988 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)