Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.277/1.277, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009244/0.0009245, allocations: 178.7 kB / 327.6 MB, free: 2.168 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.461/1.461, allocations: 205.4 MB / 0.5785 GB, free: 20.22 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.0007025/0.0007024, allocations: 84.14 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.000404, allocations: 12.19 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1977, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.493/5.69, allocations: 2.475 GB / 3.376 GB, free: 78.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/5.691, allocations: 101.7 kB / 3.376 GB, free: 78.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.446/9.136, allocations: 0.9036 GB / 4.28 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.753e-06/9.136, allocations: 0 / 4.28 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000772/9.137, allocations: 131.1 kB / 4.28 GB, free: 183.2 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01614/9.153, allocations: 5.031 MB / 4.285 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/9.153, allocations: 14.28 kB / 4.285 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007435/9.161, allocations: 1.251 MB / 4.286 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/9.174, allocations: 5.255 MB / 4.291 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/9.175, allocations: 285.8 kB / 4.291 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/9.176, allocations: 373 kB / 4.292 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/9.192, allocations: 5.345 MB / 4.297 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/9.192, allocations: 10.84 kB / 4.297 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/9.193, allocations: 152.4 kB / 4.297 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/9.194, allocations: 180.1 kB / 4.297 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/9.207, allocations: 5.244 MB / 4.302 GB, free: 174.2 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.03512/9.242, allocations: 19.14 MB / 4.321 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007702/9.25, allocations: 3.541 MB / 4.324 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003793/9.253, allocations: 1.892 MB / 4.326 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/9.255, allocations: 1.86 MB / 4.328 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004011/9.259, allocations: 2.044 MB / 4.33 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=264): time 4.248e-06/9.259, allocations: 0 / 4.33 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264): time 0.01059/9.27, allocations: 5.096 MB / 4.335 GB, free: 147 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/9.27, allocations: 283.1 kB / 4.335 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/9.275, allocations: 3.615 MB / 4.339 GB, free: 143 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006322/9.276, allocations: 76.02 kB / 4.339 GB, free: 143 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/9.278, allocations: 1.975 MB / 4.341 GB, free: 141 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/9.279, allocations: 0.8993 MB / 4.342 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/9.279, allocations: 52 kB / 4.342 GB, free: 140 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001425/9.279, allocations: 428 kB / 4.342 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/9.282, allocations: 1.564 MB / 4.344 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/9.285, allocations: 2.274 MB / 4.346 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/9.291, allocations: 3.89 MB / 4.35 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/9.291, allocations: 8 kB / 4.35 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009296/9.3, allocations: 4.402 MB / 4.354 GB, free: 127 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004813/9.301, allocations: 0.6033 MB / 4.355 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.03e-05/9.301, allocations: 16 kB / 4.355 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/9.302, allocations: 116.8 kB / 4.355 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/9.305, allocations: 0.7683 MB / 4.355 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/9.307, allocations: 1.569 MB / 4.357 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/9.312, allocations: 0.5044 MB / 4.357 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004217/9.312, allocations: 147.9 kB / 4.358 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/9.312, allocations: 4 kB / 4.358 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008054/9.32, allocations: 4.066 MB / 4.362 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/9.32, allocations: 16 kB / 4.362 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/9.321, allocations: 112.9 kB / 4.362 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/9.324, allocations: 0.7722 MB / 4.362 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/9.325, allocations: 1.571 MB / 4.364 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/9.33, allocations: 477 kB / 4.364 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/9.33, allocations: 151.8 kB / 4.365 GB, free: 115.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.003242/9.333, allocations: 1.499 MB / 4.366 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/9.335, allocations: 383.4 kB / 4.366 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009343/9.344, allocations: 4.352 MB / 4.371 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/9.344, allocations: 35.73 kB / 4.371 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/9.344, allocations: 0 / 4.371 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006355/9.351, allocations: 3.488 MB / 4.374 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/9.37, allocations: 9.18 MB / 4.383 GB, free: 96.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/9.37, allocations: 7.438 kB / 4.383 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/9.373, allocations: 0.6555 MB / 4.384 GB, free: 95.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/9.374, allocations: 88.78 kB / 4.384 GB, free: 95.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003596/9.374, allocations: 91.86 kB / 4.384 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/9.376, allocations: 1.571 MB / 4.385 GB, free: 93.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/9.376, allocations: 4.062 kB / 4.385 GB, free: 93.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/9.388, allocations: 6.06 MB / 4.391 GB, free: 87.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/9.391, allocations: 1.03 MB / 4.392 GB, free: 86.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/9.392, allocations: 56 kB / 4.392 GB, free: 86.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/9.396, allocations: 311.4 kB / 4.393 GB, free: 86.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/9.396, allocations: 189.8 kB / 4.393 GB, free: 85.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003818/9.397, allocations: 123.9 kB / 4.393 GB, free: 85.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005232/9.402, allocations: 2.53 MB / 4.396 GB, free: 83.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/9.402, allocations: 0 / 4.396 GB, free: 83.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009514/9.412, allocations: 2.425 MB / 4.398 GB, free: 80.91 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003672/9.415, allocations: 1.644 MB / 4.399 GB, free: 79.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01267/9.428, allocations: 6.118 MB / 4.405 GB, free: 73.53 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/9.428, allocations: 4.562 kB / 4.405 GB, free: 73.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/9.432, allocations: 1.959 MB / 4.407 GB, free: 71.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01383/9.446, allocations: 2.049 MB / 4.409 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/9.465, allocations: 11.29 MB / 4.42 GB, free: 58.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/9.468, allocations: 3.03 MB / 4.423 GB, free: 55.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009452/9.478, allocations: 2.032 MB / 4.425 GB, free: 53.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/9.48, allocations: 391.2 kB / 4.426 GB, free: 52.88 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/9.48, allocations: 0 / 4.426 GB, free: 52.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.6077/10.09, allocations: 90.42 MB / 4.514 GB, free: 156.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)