Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8326/0.8326, allocations: 132.4 MB / 139.9 MB, free: 15.38 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00101/0.00101, allocations: 164 kB / 171.8 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.295/1.295, allocations: 170.6 MB / 374.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 113.1 kB / 444.8 MB, free: 9.305 MB / 346.7 MB [/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.4122/0.4123, allocations: 73.4 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.637/6.049, allocations: 2.478 GB / 3.144 GB, free: 188 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/6.05, allocations: 104.2 kB / 3.144 GB, free: 188 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.978/12.03, allocations: 1.442 GB / 4.587 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/12.03, allocations: 1.219 kB / 4.587 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.002118/12.03, allocations: 258 kB / 4.587 GB, free: 42.31 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1972 * Number of variables: 1972 Notification: Performance of Generate backend data structure: time 0.04694/12.08, allocations: 8.929 MB / 4.596 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/12.08, allocations: 12.47 kB / 4.596 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02513/12.1, allocations: 2.174 MB / 4.598 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06321/12.16, allocations: 18.71 MB / 4.616 GB, free: 36.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009856/12.17, allocations: 396.6 kB / 4.616 GB, free: 36.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004397/12.17, allocations: 481.8 kB / 4.617 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02248/12.19, allocations: 8.99 MB / 4.626 GB, free: 36.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03334/12.23, allocations: 9.406 MB / 4.635 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007392/12.23, allocations: 25.03 kB / 4.635 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003673/12.23, allocations: 13.91 kB / 4.635 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006668/12.23, allocations: 231.9 kB / 4.635 GB, free: 35.48 MB / 0.6823 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.08919/12.32, allocations: 45.62 MB / 4.68 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/12.33, allocations: 6.801 MB / 4.686 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006611/12.34, allocations: 3.785 MB / 4.69 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03311/12.37, allocations: 14.57 MB / 4.704 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007551/12.38, allocations: 3.685 MB / 4.708 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006413/12.39, allocations: 0.4891 MB / 4.708 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=547): time 2.097e-05/12.39, allocations: 3.219 kB / 4.708 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=564): time 0.107/12.49, allocations: 22.45 MB / 4.73 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/12.49, allocations: 398.3 kB / 4.731 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/12.51, allocations: 6.071 MB / 4.737 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.002585/12.51, allocations: 32.33 kB / 4.737 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.006085/12.52, allocations: 4.01 MB / 4.74 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003428/12.52, allocations: 1.863 MB / 4.742 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/12.52, allocations: 2.531 kB / 4.742 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0007238/12.52, allocations: 0.5804 MB / 4.743 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006375/12.53, allocations: 3.402 MB / 4.746 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007951/12.54, allocations: 5.011 MB / 4.751 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03008/12.57, allocations: 7.201 MB / 4.758 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.947e-05/12.57, allocations: 18.08 kB / 4.758 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.04418/12.61, allocations: 12.52 MB / 4.77 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00768/12.62, allocations: 20.95 MB / 4.791 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/12.62, allocations: 44.44 kB / 4.791 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/12.62, allocations: 0.5033 MB / 4.791 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009339/12.63, allocations: 1.738 MB / 4.793 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/12.64, allocations: 3.23 MB / 4.796 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/12.65, allocations: 0.5795 MB / 4.797 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/12.65, allocations: 338.3 kB / 4.797 GB, free: 12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/12.65, allocations: 8 kB / 4.797 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0444/12.69, allocations: 11.8 MB / 4.809 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/12.69, allocations: 46.06 kB / 4.809 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/12.7, allocations: 0.5298 MB / 4.809 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008738/12.71, allocations: 1.707 MB / 4.811 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/12.71, allocations: 3.231 MB / 4.814 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/12.72, allocations: 0.5483 MB / 4.815 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/12.72, allocations: 339 kB / 4.815 GB, free: 6.992 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 191 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 847 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.002731/12.73, allocations: 279.8 kB / 4.815 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003016/12.73, allocations: 0.7099 MB / 4.816 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05626/12.79, allocations: 12.03 MB / 4.828 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001431/12.79, allocations: 63.8 kB / 4.828 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/12.79, allocations: 3.188 kB / 4.828 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03939/12.83, allocations: 9.485 MB / 4.837 GB, free: 7.281 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.5902/13.42, allocations: 20.62 MB / 4.857 GB, free: 80.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/13.42, allocations: 9.781 kB / 4.857 GB, free: 80.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006667/13.42, allocations: 1.232 MB / 4.858 GB, free: 80.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/13.42, allocations: 0.7654 MB / 4.859 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001218/13.43, allocations: 112.7 kB / 4.859 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/13.43, allocations: 10.18 MB / 4.869 GB, free: 72.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/13.43, allocations: 15.22 kB / 4.869 GB, free: 72.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04521/13.48, allocations: 16.6 MB / 4.885 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009118/13.49, allocations: 1.925 MB / 4.887 GB, free: 68.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003418/13.49, allocations: 37.47 kB / 4.887 GB, free: 68.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01047/13.5, allocations: 0.7231 MB / 4.888 GB, free: 68.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002238/13.5, allocations: 390.2 kB / 4.888 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001477/13.5, allocations: 233.7 kB / 4.888 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01067/13.51, allocations: 4.605 MB / 4.893 GB, free: 68.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.52e-07/13.51, allocations: 3.438 kB / 4.893 GB, free: 68.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02509/13.54, allocations: 4.068 MB / 4.897 GB, free: 68.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 27 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (577): * Single equations (assignments): 552 * 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: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 17 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,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.006136/13.55, allocations: 2.297 MB / 4.899 GB, free: 67.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.03125/13.58, allocations: 13.96 MB / 4.913 GB, free: 67.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.666e-05/13.58, allocations: 7.5 kB / 4.913 GB, free: 67.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007428/13.58, allocations: 3.66 MB / 4.916 GB, free: 67.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02257/13.61, allocations: 3.714 MB / 4.92 GB, free: 67.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/13.65, allocations: 17.19 MB / 4.937 GB, free: 63.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008953/13.66, allocations: 6.144 MB / 4.943 GB, free: 62.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.02968/13.69, allocations: 5.57 MB / 4.948 GB, free: 62.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003666/13.69, allocations: 0.5945 MB / 4.949 GB, free: 62.05 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/13.69, allocations: 0 / 4.949 GB, free: 62.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.2514/13.94, allocations: 164.1 MB / 5.109 GB, free: 15.13 MB / 0.7605 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)