Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.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.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.94 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.000913/0.000913, allocations: 181.4 kB / 327.6 MB, free: 2.188 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.501/1.501, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0006997/0.0006997, allocations: 91.8 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 17.25 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2002, allocations: 106.3 MB / 0.9012 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.324/5.524, allocations: 2.228 GB / 3.129 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/5.525, allocations: 101.7 kB / 3.129 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.091/9.615, allocations: 1.283 GB / 4.412 GB, free: 79.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.525e-06/9.615, allocations: 0 / 4.412 GB, free: 79.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001012/9.617, allocations: 123.9 kB / 4.413 GB, free: 79.3 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01886/9.635, allocations: 6.314 MB / 4.419 GB, free: 72.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/9.635, allocations: 8.031 kB / 4.419 GB, free: 72.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/9.647, allocations: 1.595 MB / 4.42 GB, free: 71.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/9.66, allocations: 5.635 MB / 4.426 GB, free: 65.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/9.661, allocations: 287.4 kB / 4.426 GB, free: 65.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/9.662, allocations: 367.9 kB / 4.426 GB, free: 64.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/9.677, allocations: 5.479 MB / 4.432 GB, free: 59.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/9.677, allocations: 7.938 kB / 4.432 GB, free: 59.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/9.679, allocations: 156 kB / 4.432 GB, free: 59.17 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/9.679, allocations: 159.3 kB / 4.432 GB, free: 59.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/9.692, allocations: 5.333 MB / 4.437 GB, free: 53.67 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.03292/9.725, allocations: 19.06 MB / 4.456 GB, free: 34.17 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007373/9.732, allocations: 3.821 MB / 4.46 GB, free: 30.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/9.736, allocations: 1.909 MB / 4.461 GB, free: 28.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/9.738, allocations: 2.529 MB / 4.464 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004303/9.742, allocations: 2.127 MB / 4.466 GB, free: 23.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 6.683e-06/9.742, allocations: 0 / 4.466 GB, free: 23.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.01527/9.757, allocations: 6.826 MB / 4.473 GB, free: 16.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/9.757, allocations: 291.3 kB / 4.473 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007174/9.765, allocations: 3.619 MB / 4.476 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006644/9.765, allocations: 81.7 kB / 4.477 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/9.767, allocations: 1.945 MB / 4.478 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/9.768, allocations: 0.9627 MB / 4.479 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/9.769, allocations: 60 kB / 4.479 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002136/9.769, allocations: 428.1 kB / 4.48 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/9.772, allocations: 1.602 MB / 4.481 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003685/9.776, allocations: 2.249 MB / 4.484 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/9.783, allocations: 3.926 MB / 4.487 GB, free: 368 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/9.783, allocations: 7.938 kB / 4.487 GB, free: 360 kB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.5395/10.32, allocations: 4.467 MB / 4.492 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/10.32, allocations: 0.5367 MB / 4.492 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/10.32, allocations: 15.09 kB / 4.492 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/10.32, allocations: 108.9 kB / 4.492 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/10.33, allocations: 0.8019 MB / 4.493 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/10.33, allocations: 2.16 MB / 4.495 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/10.33, allocations: 0.4994 MB / 4.496 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/10.33, allocations: 158.1 kB / 4.496 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/10.33, allocations: 3.891 kB / 4.496 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009348/10.34, allocations: 4.128 MB / 4.5 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/10.34, allocations: 15.28 kB / 4.5 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/10.34, allocations: 109 kB / 4.5 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/10.35, allocations: 0.7899 MB / 4.501 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/10.35, allocations: 1.57 MB / 4.502 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/10.35, allocations: 478.3 kB / 4.503 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/10.35, allocations: 158.5 kB / 4.503 GB, free: 129.5 MB / 0.8855 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 (378): * Single equations (assignments): 376 * 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.003359/10.36, allocations: 1.529 MB / 4.505 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/10.36, allocations: 394 kB / 4.505 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/10.37, allocations: 5.112 MB / 4.51 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/10.37, allocations: 31.81 kB / 4.51 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/10.37, allocations: 0 / 4.51 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007649/10.38, allocations: 4.074 MB / 4.514 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/10.39, allocations: 9.851 MB / 4.524 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/10.39, allocations: 0 / 4.524 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/10.4, allocations: 0.6212 MB / 4.524 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/10.4, allocations: 0.6661 MB / 4.525 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/10.4, allocations: 100.8 kB / 4.525 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/10.4, allocations: 7.539 MB / 4.532 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/10.4, allocations: 6.062 kB / 4.532 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/10.42, allocations: 6.731 MB / 4.539 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003186/10.42, allocations: 1.097 MB / 4.54 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/10.42, allocations: 63.08 kB / 4.54 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/10.42, allocations: 315.4 kB / 4.54 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/10.42, allocations: 190.9 kB / 4.54 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003055/10.42, allocations: 135.1 kB / 4.541 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004311/10.43, allocations: 2.537 MB / 4.543 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.122e-06/10.43, allocations: 0.625 kB / 4.543 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00923/10.44, allocations: 2.856 MB / 4.546 GB, free: 120 MB / 0.8855 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 (272): * Single equations (assignments): 257 * 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.003337/10.44, allocations: 1.83 MB / 4.548 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01141/10.45, allocations: 6.294 MB / 4.554 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/10.45, allocations: 6.125 kB / 4.554 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/10.46, allocations: 2.169 MB / 4.556 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009322/10.47, allocations: 1.948 MB / 4.558 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/10.48, allocations: 11.4 MB / 4.569 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/10.49, allocations: 3.06 MB / 4.572 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008065/10.49, allocations: 2.4 MB / 4.574 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/10.5, allocations: 415.8 kB / 4.575 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/10.5, allocations: 0 / 4.575 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.1261/10.62, allocations: 93.09 MB / 4.666 GB, free: 109.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)