Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") [/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.1491/0.1499, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02637/0.1763, allocations: 24.66 MB / 0.6174 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.1915, allocations: 10.75 MB / 0.6279 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.1928, allocations: 35.75 kB / 0.628 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.1947, allocations: 0.5638 MB / 0.6285 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.1979, allocations: 1.245 MB / 0.6297 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006177/0.2041, allocations: 2.251 MB / 0.6319 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003999/0.2081, allocations: 2.291 MB / 0.6342 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.2098, allocations: 1.01 MB / 0.6352 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.2119, allocations: 1.098 MB / 0.6362 GB, free: 10 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.213, allocations: 0.739 MB / 0.637 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.2132, allocations: 60 kB / 0.637 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.2152, allocations: 0.8699 MB / 0.6379 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.2156, allocations: 314.8 kB / 0.6382 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.216, allocations: 332.9 kB / 0.6385 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.2186, allocations: 1.987 MB / 0.6404 GB, free: 5.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2186, allocations: 3.938 kB / 0.6404 GB, free: 5.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2186, allocations: 0 / 0.6404 GB, free: 5.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.2186, allocations: 0 / 0.6404 GB, free: 5.695 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003296/0.2219, allocations: 1.817 MB / 0.6422 GB, free: 3.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.222, allocations: 12.02 kB / 0.6422 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.2231, allocations: 265.8 kB / 0.6425 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.2257, allocations: 1.335 MB / 0.6438 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.305e-05/0.2258, allocations: 66 kB / 0.6438 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.226, allocations: 92 kB / 0.6439 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00506/0.2311, allocations: 1.896 MB / 0.6458 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.2311, allocations: 3.938 kB / 0.6458 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.2312, allocations: 36.05 kB / 0.6458 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2313, allocations: 24 kB / 0.6458 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/0.236, allocations: 1.639 MB / 0.6474 GB, free: 14.33 MB / 0.4981 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.007058/0.2431, allocations: 5.441 MB / 0.6528 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.2474, allocations: 1.455 MB / 0.6542 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002392/0.2498, allocations: 1.52 MB / 0.6557 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003821/0.2537, allocations: 1.239 MB / 0.6569 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004979/0.2542, allocations: 107.2 kB / 0.657 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 1.893e-06/0.2542, allocations: 0 / 0.657 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51): time 0.02519/0.2794, allocations: 7.172 MB / 0.664 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.2795, allocations: 137 kB / 0.6641 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.2814, allocations: 1.349 MB / 0.6654 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.2816, allocations: 41.7 kB / 0.6655 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.2821, allocations: 0.6493 MB / 0.6661 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.2824, allocations: 177.5 kB / 0.6663 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.2824, allocations: 12 kB / 0.6663 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2826, allocations: 338 kB / 0.6666 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.2843, allocations: 0.7083 MB / 0.6673 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.2864, allocations: 1.157 MB / 0.6684 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.2882, allocations: 0.8181 MB / 0.6692 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2882, allocations: 4 kB / 0.6692 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01266/0.3009, allocations: 3.89 MB / 0.673 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001037/0.3019, allocations: 2.653 MB / 0.6756 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.302, allocations: 8 kB / 0.6756 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.3045, allocations: 1.004 MB / 0.6766 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.3052, allocations: 163.7 kB / 0.6768 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/0.3309, allocations: 9.788 MB / 0.6863 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.3331, allocations: 303.5 kB / 0.6866 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.3332, allocations: 56.09 kB / 0.6867 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3332, allocations: 8 kB / 0.6867 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/0.3353, allocations: 1.237 MB / 0.6879 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3354, allocations: 4 kB / 0.6879 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.3357, allocations: 149.3 kB / 0.688 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.3362, allocations: 147.7 kB / 0.6882 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.3386, allocations: 2.367 MB / 0.6905 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.34, allocations: 167.7 kB / 0.6906 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.34, allocations: 51.97 kB / 0.6907 GB, free: 0.7422 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 2 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007541/0.3408, allocations: 480.8 kB / 0.6911 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.341, allocations: 130.4 kB / 0.6913 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2974/0.6384, allocations: 3.005 MB / 0.6942 GB, free: 94.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.6385, allocations: 6 kB / 0.6942 GB, free: 94.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6385, allocations: 0 / 0.6942 GB, free: 94.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008815/0.6473, allocations: 2.989 MB / 0.6971 GB, free: 94.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.6591, allocations: 4.298 MB / 0.7013 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.547e-06/0.6592, allocations: 2.031 kB / 0.7013 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.6596, allocations: 102.5 kB / 0.7014 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.6618, allocations: 0.9897 MB / 0.7024 GB, free: 93.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.6619, allocations: 23.75 kB / 0.7024 GB, free: 93.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02461/0.6865, allocations: 9.221 MB / 0.7114 GB, free: 90.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.6865, allocations: 4.812 kB / 0.7114 GB, free: 90.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.6968, allocations: 3.857 MB / 0.7152 GB, free: 89.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/0.6977, allocations: 330.8 kB / 0.7155 GB, free: 89.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.6979, allocations: 15.98 kB / 0.7155 GB, free: 89.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6991, allocations: 230 kB / 0.7157 GB, free: 89.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.6993, allocations: 54.88 kB / 0.7158 GB, free: 89.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.6994, allocations: 32.16 kB / 0.7158 GB, free: 89.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001192/0.7006, allocations: 0.9317 MB / 0.7167 GB, free: 88.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7006, allocations: 0 / 0.7167 GB, free: 88.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002471/0.7031, allocations: 0.7888 MB / 0.7175 GB, free: 88.85 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump_dp.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008578/0.7039, allocations: 424.3 kB / 0.7179 GB, free: 88.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008696/0.7126, allocations: 4.155 MB / 0.722 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7127, allocations: 192 / 0.722 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005186/0.7179, allocations: 1.906 MB / 0.7238 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.7206, allocations: 0.6214 MB / 0.7244 GB, free: 83.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.7248, allocations: 3.201 MB / 0.7276 GB, free: 80.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.7253, allocations: 1.311 MB / 0.7288 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001108/0.7264, allocations: 300.9 kB / 0.7291 GB, free: 78.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.7267, allocations: 115.4 kB / 0.7292 GB, free: 78.85 MB / 0.5294 GB Notification: Performance of SimCode: time 1.332e-06/0.7267, allocations: 0 / 0.7292 GB, free: 78.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.0433/0.77, allocations: 37.31 MB / 0.7657 GB, free: 41.86 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: