Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.745/1.745, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 187.2 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009043, allocations: 95.05 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004517, allocations: 15.98 kB / 0.9088 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9982/0.9986, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.185/6.184, allocations: 2.112 GB / 3.138 GB, free: 133 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/6.184, allocations: 97.52 kB / 3.138 GB, free: 132.9 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.426/10.61, allocations: 1.227 GB / 4.365 GB, free: 28.37 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.194e-06/10.61, allocations: 0 / 4.365 GB, free: 28.37 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009884/10.61, allocations: 131.9 kB / 4.366 GB, free: 28.24 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.02177/10.63, allocations: 5.59 MB / 4.371 GB, free: 22.58 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/10.63, allocations: 8.031 kB / 4.371 GB, free: 22.57 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/10.65, allocations: 1.633 MB / 4.373 GB, free: 20.93 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01845/10.66, allocations: 5.72 MB / 4.378 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00043/10.67, allocations: 287.6 kB / 4.378 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/10.67, allocations: 383.8 kB / 4.379 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/10.69, allocations: 5.552 MB / 4.384 GB, free: 8.766 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/10.69, allocations: 3.938 kB / 4.384 GB, free: 8.762 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/10.69, allocations: 168 kB / 4.384 GB, free: 8.598 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/10.69, allocations: 159.4 kB / 4.385 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/10.71, allocations: 5.396 MB / 4.39 GB, free: 3.039 MB / 0.9792 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.8419/11.55, allocations: 19.16 MB / 4.409 GB, free: 125.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008827/11.56, allocations: 3.799 MB / 4.412 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/11.56, allocations: 1.929 MB / 4.414 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002419/11.57, allocations: 2.827 MB / 4.417 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005468/11.57, allocations: 2.154 MB / 4.419 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=285): time 9.017e-06/11.57, allocations: 3.219 kB / 4.419 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=285): time 0.01938/11.59, allocations: 6.875 MB / 4.426 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/11.59, allocations: 291.9 kB / 4.426 GB, free: 120.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009661/11.6, allocations: 3.638 MB / 4.43 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001119/11.6, allocations: 79.92 kB / 4.43 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/11.6, allocations: 1.954 MB / 4.432 GB, free: 119.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/11.61, allocations: 0.9739 MB / 4.433 GB, free: 119.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007918/11.61, allocations: 59.25 kB / 4.433 GB, free: 119.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003662/11.61, allocations: 426.3 kB / 4.433 GB, free: 119 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/11.61, allocations: 1.619 MB / 4.435 GB, free: 119 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/11.62, allocations: 2.266 MB / 4.437 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/11.63, allocations: 3.966 MB / 4.441 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.203e-05/11.63, allocations: 4.156 kB / 4.441 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01539/11.64, allocations: 4.509 MB / 4.445 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004744/11.64, allocations: 0.5397 MB / 4.446 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/11.64, allocations: 20.09 kB / 4.446 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/11.64, allocations: 108.4 kB / 4.446 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004817/11.65, allocations: 0.8118 MB / 4.446 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/11.65, allocations: 2.157 MB / 4.449 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/11.66, allocations: 0.5125 MB / 4.449 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/11.66, allocations: 158.2 kB / 4.449 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/11.66, allocations: 3 kB / 4.449 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/11.67, allocations: 4.175 MB / 4.453 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/11.67, allocations: 14.47 kB / 4.453 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/11.67, allocations: 109.2 kB / 4.453 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/11.68, allocations: 0.7965 MB / 4.454 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/11.68, allocations: 1.568 MB / 4.456 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/11.69, allocations: 492.3 kB / 4.456 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/11.69, allocations: 158.6 kB / 4.456 GB, free: 113.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006113/11.69, allocations: 1.531 MB / 4.458 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002254/11.7, allocations: 390.2 kB / 4.458 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/11.71, allocations: 5.117 MB / 4.463 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/11.71, allocations: 30.22 kB / 4.463 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/11.71, allocations: 0 / 4.463 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01073/11.72, allocations: 4.096 MB / 4.467 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/11.75, allocations: 9.9 MB / 4.477 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/11.75, allocations: 1.25 kB / 4.477 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003703/11.76, allocations: 0.6294 MB / 4.478 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/11.76, allocations: 0.6452 MB / 4.478 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007848/11.76, allocations: 93.62 kB / 4.478 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/11.76, allocations: 7.51 MB / 4.486 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/11.76, allocations: 0 / 4.486 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/11.78, allocations: 6.798 MB / 4.492 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004357/11.79, allocations: 1.082 MB / 4.493 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002069/11.79, allocations: 60.2 kB / 4.493 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005754/11.8, allocations: 328.6 kB / 4.494 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009658/11.8, allocations: 181.1 kB / 4.494 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007952/11.8, allocations: 141.8 kB / 4.494 GB, free: 104 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007184/11.81, allocations: 2.564 MB / 4.496 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.62e-07/11.81, allocations: 0 / 4.496 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.016/11.82, allocations: 2.734 MB / 4.499 GB, free: 103.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (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,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006357/11.83, allocations: 1.671 MB / 4.501 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01973/11.85, allocations: 6.369 MB / 4.507 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/11.85, allocations: 3.469 kB / 4.507 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006391/11.85, allocations: 2.155 MB / 4.509 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/11.87, allocations: 1.954 MB / 4.511 GB, free: 103 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/11.9, allocations: 11.46 MB / 4.522 GB, free: 99.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006587/11.91, allocations: 3.07 MB / 4.525 GB, free: 98.25 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01335/11.92, allocations: 2.359 MB / 4.528 GB, free: 98.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003101/11.93, allocations: 419.8 kB / 4.528 GB, free: 98.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.252e-06/11.93, allocations: 0 / 4.528 GB, free: 98.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.172/12.1, allocations: 91.56 MB / 4.617 GB, free: 94.05 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)