Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") [/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.1648/0.1658, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03052/0.1964, allocations: 31.58 MB / 0.625 GB, free: 5.875 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.215, allocations: 13 MB / 0.6376 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.2166, allocations: 43.69 kB / 0.6377 GB, free: 8.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.2185, allocations: 0.6454 MB / 0.6383 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.2222, allocations: 1.411 MB / 0.6397 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.2257, allocations: 1.504 MB / 0.6412 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006921/0.2326, allocations: 6.64 MB / 0.6476 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.235, allocations: 1.787 MB / 0.6494 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.2384, allocations: 1.665 MB / 0.651 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.2406, allocations: 1.388 MB / 0.6524 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.2409, allocations: 76 kB / 0.6524 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.2435, allocations: 1.287 MB / 0.6537 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.2439, allocations: 422.2 kB / 0.6541 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.245, allocations: 0.9809 MB / 0.6551 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.2485, allocations: 3.17 MB / 0.6582 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2485, allocations: 0 / 0.6582 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2486, allocations: 0 / 0.6582 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.534e-05/0.2486, allocations: 3.938 kB / 0.6582 GB, free: 3.758 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003562/0.2522, allocations: 2.196 MB / 0.6603 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2522, allocations: 8.031 kB / 0.6603 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2533, allocations: 322.2 kB / 0.6606 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.2561, allocations: 1.714 MB / 0.6623 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.2562, allocations: 89.98 kB / 0.6624 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.2564, allocations: 108 kB / 0.6625 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.2598, allocations: 1.528 MB / 0.664 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.2598, allocations: 3.938 kB / 0.664 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.2599, allocations: 44 kB / 0.664 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.26, allocations: 24 kB / 0.664 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.263, allocations: 1.202 MB / 0.6652 GB, free: 12.32 MB / 0.5137 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.007495/0.2706, allocations: 7.153 MB / 0.6722 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.2729, allocations: 0.7511 MB / 0.6729 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.2735, allocations: 367.1 kB / 0.6733 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00214/0.2756, allocations: 1.541 MB / 0.6748 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/0.2776, allocations: 0.5745 MB / 0.6754 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005667/0.2782, allocations: 135.1 kB / 0.6755 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.2782, allocations: 0 / 0.6755 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.01438/0.2926, allocations: 3.572 MB / 0.679 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.2927, allocations: 141 kB / 0.6791 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.2952, allocations: 1.805 MB / 0.6809 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.2953, allocations: 49.7 kB / 0.6809 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007671/0.2961, allocations: 0.878 MB / 0.6818 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.2963, allocations: 185.5 kB / 0.6819 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2964, allocations: 81.67 kB / 0.682 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2966, allocations: 345.9 kB / 0.6824 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.2976, allocations: 425.7 kB / 0.6828 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.299, allocations: 1.01 MB / 0.6837 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.301, allocations: 1.159 MB / 0.6849 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.3011, allocations: 7.938 kB / 0.6849 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005278/0.3064, allocations: 1.755 MB / 0.6866 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.3067, allocations: 446.4 kB / 0.687 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3067, allocations: 12 kB / 0.687 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009117/0.3076, allocations: 291.8 kB / 0.6873 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.3083, allocations: 175.7 kB / 0.6875 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008533/0.3168, allocations: 3.595 MB / 0.691 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.3187, allocations: 135.7 kB / 0.6911 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3189, allocations: 63.97 kB / 0.6912 GB, free: 208 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3189, allocations: 6.188 kB / 0.6912 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2687/0.5876, allocations: 1.408 MB / 0.6926 GB, free: 93.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.5877, allocations: 11.06 kB / 0.6926 GB, free: 93.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.588, allocations: 119.5 kB / 0.6927 GB, free: 93.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.5887, allocations: 170.4 kB / 0.6929 GB, free: 93.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.5905, allocations: 2.124 MB / 0.6949 GB, free: 91.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.5921, allocations: 129.5 kB / 0.6951 GB, free: 91.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5922, allocations: 59.55 kB / 0.6951 GB, free: 91.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008811/0.5931, allocations: 0.5882 MB / 0.6957 GB, free: 91.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.5934, allocations: 173.7 kB / 0.6958 GB, free: 91.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.5972, allocations: 1.274 MB / 0.6971 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5972, allocations: 5.688 kB / 0.6971 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.5972, allocations: 0 / 0.6971 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003096/0.6003, allocations: 1.224 MB / 0.6983 GB, free: 91.06 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.005871/0.6062, allocations: 2.583 MB / 0.7008 GB, free: 90.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.6062, allocations: 0.9375 kB / 0.7008 GB, free: 90.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.6067, allocations: 101.6 kB / 0.7009 GB, free: 90.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000815/0.6075, allocations: 281.1 kB / 0.7012 GB, free: 90.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.6076, allocations: 18.75 kB / 0.7012 GB, free: 90.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/0.6149, allocations: 3.306 MB / 0.7044 GB, free: 89.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6149, allocations: 1 kB / 0.7044 GB, free: 89.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.6197, allocations: 1.741 MB / 0.7061 GB, free: 89.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/0.6204, allocations: 332.2 kB / 0.7064 GB, free: 89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/0.6207, allocations: 13.72 kB / 0.7065 GB, free: 89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6219, allocations: 97.86 kB / 0.7066 GB, free: 89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.6221, allocations: 60.11 kB / 0.7066 GB, free: 88.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.6222, allocations: 27.23 kB / 0.7066 GB, free: 88.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002083/0.6242, allocations: 1.247 MB / 0.7079 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6243, allocations: 4.188 kB / 0.7079 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003121/0.6274, allocations: 0.8395 MB / 0.7087 GB, free: 88.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/0.6285, allocations: 424.9 kB / 0.7091 GB, free: 88.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00477/0.6333, allocations: 2.583 MB / 0.7116 GB, free: 87.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6333, allocations: 6.609 kB / 0.7116 GB, free: 87.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.6347, allocations: 0.5893 MB / 0.7122 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/0.6394, allocations: 0.7861 MB / 0.713 GB, free: 86.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/0.6463, allocations: 3.687 MB / 0.7166 GB, free: 85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.6478, allocations: 1.519 MB / 0.718 GB, free: 84.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002104/0.6499, allocations: 433.1 kB / 0.7185 GB, free: 83.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.6503, allocations: 128 kB / 0.7186 GB, free: 83.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/0.6503, allocations: 1.906 kB / 0.7186 GB, free: 83.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.05876/0.7091, allocations: 40.55 MB / 0.7582 GB, free: 48.25 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: