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.172/0.1728, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02873/0.2015, allocations: 28.53 MB / 0.622 GB, free: 8.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01893/0.2205, allocations: 12.41 MB / 0.6341 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.2224, allocations: 47.62 kB / 0.6341 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.2247, allocations: 0.6065 MB / 0.6347 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.2301, allocations: 1.307 MB / 0.636 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.234, allocations: 1.428 MB / 0.6374 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006383/0.2404, allocations: 5.182 MB / 0.6425 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.2426, allocations: 1.13 MB / 0.6436 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.2458, allocations: 1.272 MB / 0.6448 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.2478, allocations: 1.077 MB / 0.6459 GB, free: 408 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003942/0.2482, allocations: 60 kB / 0.6459 GB, free: 348 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2515, allocations: 1.248 MB / 0.6471 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.2521, allocations: 342.6 kB / 0.6475 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.2535, allocations: 0.7633 MB / 0.6482 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.2575, allocations: 2.648 MB / 0.6508 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2575, allocations: 0 / 0.6508 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2575, allocations: 0 / 0.6508 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.758e-05/0.2576, allocations: 0 / 0.6508 GB, free: 11.32 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00375/0.2613, allocations: 1.793 MB / 0.6525 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2614, allocations: 8.031 kB / 0.6525 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.2627, allocations: 262.8 kB / 0.6528 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.2655, allocations: 1.385 MB / 0.6542 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.2656, allocations: 66 kB / 0.6542 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.2658, allocations: 91.94 kB / 0.6543 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.2687, allocations: 1.225 MB / 0.6555 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.2687, allocations: 4 kB / 0.6555 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/0.2688, allocations: 32 kB / 0.6555 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2689, allocations: 20 kB / 0.6556 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.2715, allocations: 0.9442 MB / 0.6565 GB, free: 5.312 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.005783/0.2773, allocations: 5.356 MB / 0.6617 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.2797, allocations: 0.7538 MB / 0.6624 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.2804, allocations: 310.6 kB / 0.6627 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.2824, allocations: 1.399 MB / 0.6641 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/0.2843, allocations: 0.5451 MB / 0.6646 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004445/0.2848, allocations: 103.4 kB / 0.6647 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 3.456e-06/0.2848, allocations: 0 / 0.6647 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50): time 0.01021/0.295, allocations: 2.817 MB / 0.6675 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.2951, allocations: 137 kB / 0.6676 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.297, allocations: 1.294 MB / 0.6689 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/0.2971, allocations: 41.7 kB / 0.6689 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.2977, allocations: 0.6527 MB / 0.6696 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.2979, allocations: 177.5 kB / 0.6697 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.298, allocations: 73.69 kB / 0.6698 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2981, allocations: 337.9 kB / 0.6701 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/0.2991, allocations: 385.7 kB / 0.6705 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.3003, allocations: 0.7746 MB / 0.6712 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.3021, allocations: 0.9831 MB / 0.6722 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.3022, allocations: 7.984 kB / 0.6722 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004876/0.307, allocations: 1.555 MB / 0.6737 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.3073, allocations: 356.3 kB / 0.6741 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3073, allocations: 4 kB / 0.6741 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.3082, allocations: 303.7 kB / 0.6744 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.3088, allocations: 151.7 kB / 0.6745 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009039/0.3179, allocations: 3.607 MB / 0.678 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.3194, allocations: 100 kB / 0.6781 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.3195, allocations: 59.91 kB / 0.6782 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.3196, allocations: 8 kB / 0.6782 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/0.3217, allocations: 1.25 MB / 0.6794 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.3217, allocations: 8.062 kB / 0.6794 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.322, allocations: 108.2 kB / 0.6795 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.3225, allocations: 143.7 kB / 0.6797 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.3246, allocations: 2.2 MB / 0.6818 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3257, allocations: 91.89 kB / 0.6819 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.3258, allocations: 47.98 kB / 0.6819 GB, free: 9.875 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (73): * Single equations (assignments): 70 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007577/0.3266, allocations: 488.7 kB / 0.6824 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.3268, allocations: 134.3 kB / 0.6825 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.3306, allocations: 1.175 MB / 0.6837 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3306, allocations: 8 kB / 0.6837 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3306, allocations: 0 / 0.6837 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003202/0.3338, allocations: 1.168 MB / 0.6848 GB, free: 6.824 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.005481/0.3393, allocations: 2.35 MB / 0.6871 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3394, allocations: 4.125 kB / 0.6871 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.3398, allocations: 95.88 kB / 0.6872 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007823/0.3406, allocations: 284.6 kB / 0.6875 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.3407, allocations: 15.98 kB / 0.6875 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008218/0.3489, allocations: 3.381 MB / 0.6908 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3489, allocations: 0 / 0.6908 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3012/0.6501, allocations: 1.598 MB / 0.6924 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.6507, allocations: 282.4 kB / 0.6926 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6508, allocations: 14.81 kB / 0.6927 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.6516, allocations: 90.03 kB / 0.6927 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6518, allocations: 62.27 kB / 0.6928 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.6519, allocations: 26.25 kB / 0.6928 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001147/0.653, allocations: 0.8905 MB / 0.6937 GB, free: 93.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.653, allocations: 0 / 0.6937 GB, free: 93.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00232/0.6554, allocations: 0.7029 MB / 0.6944 GB, free: 93.48 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 (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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007798/0.6561, allocations: 430.1 kB / 0.6948 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004554/0.6607, allocations: 2.522 MB / 0.6972 GB, free: 92.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6607, allocations: 0 / 0.6972 GB, free: 92.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002/0.6627, allocations: 0.6646 MB / 0.6979 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/0.6656, allocations: 0.6101 MB / 0.6985 GB, free: 92.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.6696, allocations: 2.92 MB / 0.7013 GB, free: 91.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/0.6704, allocations: 1.288 MB / 0.7026 GB, free: 90.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001133/0.6715, allocations: 307.2 kB / 0.7029 GB, free: 90.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.6717, allocations: 103.2 kB / 0.703 GB, free: 90.7 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.6718, allocations: 0 / 0.703 GB, free: 90.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.04924/0.721, allocations: 33.12 MB / 0.7353 GB, free: 70.93 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: