Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) 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_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2012/0.202, allocations: 82.21 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03128/0.2333, allocations: 30.45 MB / 0.6231 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5951/0.8285, allocations: 134.5 MB / 0.7544 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.8313, allocations: 41.84 kB / 0.7544 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.8335, allocations: 0.5093 MB / 0.7549 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.8396, allocations: 1.525 MB / 0.7564 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.8449, allocations: 1.469 MB / 0.7579 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.8558, allocations: 6.748 MB / 0.7645 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007613/0.8635, allocations: 4.377 MB / 0.7687 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007132/0.8707, allocations: 2.727 MB / 0.7714 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006585/0.8773, allocations: 2.294 MB / 0.7736 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.8786, allocations: 173.8 kB / 0.7738 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005574/0.8842, allocations: 0.9542 MB / 0.7747 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.8858, allocations: 0.9024 MB / 0.7756 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/0.8886, allocations: 1.024 MB / 0.7766 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009979/0.8986, allocations: 6.688 MB / 0.7831 GB, free: 7.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8987, allocations: 3.938 kB / 0.7832 GB, free: 7.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.947e-06/0.8987, allocations: 0 / 0.7832 GB, free: 7.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003369/0.899, allocations: 3.938 kB / 0.7832 GB, free: 7.707 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1010 * Number of variables: 1010 Notification: Performance of Generate backend data structure: time 0.01418/0.9132, allocations: 4.877 MB / 0.7879 GB, free: 4.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.9133, allocations: 7.5 kB / 0.7879 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.9238, allocations: 1.537 MB / 0.7894 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.9354, allocations: 4.202 MB / 0.7935 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.9357, allocations: 305.2 kB / 0.7938 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/0.9372, allocations: 416.6 kB / 0.7942 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.9501, allocations: 5.696 MB / 0.7998 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.998e-05/0.9502, allocations: 11.94 kB / 0.7998 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.9507, allocations: 170.7 kB / 0.8 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.9508, allocations: 131.9 kB / 0.8001 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.9637, allocations: 5.545 MB / 0.8055 GB, free: 5.109 MB / 0.5606 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.03441/0.9982, allocations: 20.11 MB / 0.8251 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008305/1.007, allocations: 3.561 MB / 0.8286 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.008, allocations: 1.016 MB / 0.8296 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004696/1.013, allocations: 2.154 MB / 0.8317 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=269): time 4.378e-06/1.013, allocations: 0 / 0.8317 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=287): time 0.02784/1.04, allocations: 11.43 MB / 0.8429 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.041, allocations: 239.9 kB / 0.8431 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/1.046, allocations: 3.537 MB / 0.8465 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006244/1.046, allocations: 81.69 kB / 0.8466 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.048, allocations: 1.941 MB / 0.8485 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.05, allocations: 0.9827 MB / 0.8495 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/1.05, allocations: 64 kB / 0.8495 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002383/1.05, allocations: 428.7 kB / 0.85 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004064/1.054, allocations: 1.814 MB / 0.8517 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/1.059, allocations: 2.518 MB / 0.8542 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00455/1.063, allocations: 2.168 MB / 0.8563 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.063, allocations: 4 kB / 0.8563 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.01286/1.076, allocations: 5.307 MB / 0.8615 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.003103/1.079, allocations: 7.656 MB / 0.869 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/1.079, allocations: 19.98 kB / 0.869 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/1.082, allocations: 0.5674 MB / 0.8695 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/1.087, allocations: 0.8776 MB / 0.8704 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/1.094, allocations: 4.986 MB / 0.8753 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.099, allocations: 323.2 kB / 0.8756 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007063/1.1, allocations: 155.9 kB / 0.8757 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.1, allocations: 4 kB / 0.8757 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/1.112, allocations: 4.955 MB / 0.8806 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/1.112, allocations: 16.19 kB / 0.8806 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/1.114, allocations: 0.5831 MB / 0.8811 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/1.118, allocations: 0.8776 MB / 0.882 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/1.125, allocations: 4.996 MB / 0.8869 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004868/1.13, allocations: 319.3 kB / 0.8872 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/1.13, allocations: 159.9 kB / 0.8873 GB, free: 14.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (392): * Single equations (assignments): 390 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 17,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003891/1.134, allocations: 1.526 MB / 0.8888 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.135, allocations: 387.2 kB / 0.8892 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.148, allocations: 5.247 MB / 0.8943 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/1.148, allocations: 32 kB / 0.8944 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.148, allocations: 0 / 0.8944 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008964/1.157, allocations: 4.279 MB / 0.8985 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.177, allocations: 10.08 MB / 0.9084 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.177, allocations: 8 kB / 0.9084 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/1.181, allocations: 0.6828 MB / 0.909 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/1.182, allocations: 0.4884 MB / 0.9095 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/1.182, allocations: 119.9 kB / 0.9096 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/1.187, allocations: 6.835 MB / 0.9163 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.187, allocations: 8 kB / 0.9163 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.203, allocations: 8.071 MB / 0.9242 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003096/1.206, allocations: 1.034 MB / 0.9252 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.207, allocations: 75.98 kB / 0.9253 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/1.21, allocations: 311.4 kB / 0.9256 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.211, allocations: 213.8 kB / 0.9258 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/1.211, allocations: 143.9 kB / 0.9259 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004019/1.215, allocations: 2.471 MB / 0.9283 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.41e-07/1.215, allocations: 0 / 0.9283 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006506/1.222, allocations: 1.937 MB / 0.9302 GB, free: 1.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/1.223, allocations: 0.8653 MB / 0.9311 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.239, allocations: 7.473 MB / 0.9384 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/1.239, allocations: 4 kB / 0.9384 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/1.244, allocations: 2.289 MB / 0.9406 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/1.255, allocations: 2.052 MB / 0.9426 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.277, allocations: 11.99 MB / 0.9543 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0043/1.282, allocations: 3.185 MB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.01005/1.292, allocations: 2.03 MB / 0.9594 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/1.294, allocations: 403.2 kB / 0.9598 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/1.294, allocations: 0 / 0.9598 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.4614/1.755, allocations: 88.9 MB / 1.047 GB, free: 211.3 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) Environment - environmentSimulation: