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.1953/0.196, allocations: 82.21 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02965/0.2257, allocations: 29.88 MB / 0.6226 GB, free: 8.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.2435, allocations: 11.85 MB / 0.6342 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.2452, allocations: 39.75 kB / 0.6343 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.247, allocations: 0.4931 MB / 0.6347 GB, free: 11.6 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003595/0.2506, allocations: 1.27 MB / 0.636 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.2541, allocations: 1.254 MB / 0.6372 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006828/0.2609, allocations: 5.676 MB / 0.6427 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/0.264, allocations: 1.657 MB / 0.6444 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.2674, allocations: 1.626 MB / 0.6459 GB, free: 76 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.2697, allocations: 1.338 MB / 0.6473 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.27, allocations: 84 kB / 0.6473 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.2726, allocations: 1.014 MB / 0.6483 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.2731, allocations: 418.2 kB / 0.6487 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008221/0.2739, allocations: 408.7 kB / 0.6491 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.2772, allocations: 2.467 MB / 0.6515 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2773, allocations: 4 kB / 0.6515 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2773, allocations: 0 / 0.6515 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.089e-05/0.2773, allocations: 0 / 0.6515 GB, free: 10.34 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.004086/0.2814, allocations: 2.246 MB / 0.6537 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2815, allocations: 8.031 kB / 0.6537 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.2827, allocations: 317.2 kB / 0.654 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.2859, allocations: 1.68 MB / 0.6557 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.286, allocations: 85.94 kB / 0.6558 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.2862, allocations: 112 kB / 0.6559 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.2916, allocations: 2.218 MB / 0.658 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.2916, allocations: 3.938 kB / 0.658 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.2917, allocations: 48 kB / 0.6581 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2918, allocations: 24 kB / 0.6581 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005213/0.297, allocations: 1.908 MB / 0.66 GB, free: 1.484 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.01058/0.3076, allocations: 7.414 MB / 0.6672 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/0.3122, allocations: 1.473 MB / 0.6686 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/0.313, allocations: 403.1 kB / 0.669 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003558/0.3165, allocations: 1.713 MB / 0.6707 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005277/0.3218, allocations: 1.277 MB / 0.6719 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009285/0.3228, allocations: 135.1 kB / 0.6721 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.757e-06/0.3228, allocations: 0 / 0.6721 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.0272/0.35, allocations: 7.481 MB / 0.6794 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.3501, allocations: 141 kB / 0.6795 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.3533, allocations: 1.871 MB / 0.6813 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.3536, allocations: 45.69 kB / 0.6814 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008546/0.3545, allocations: 0.8824 MB / 0.6822 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.3547, allocations: 185.4 kB / 0.6824 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3548, allocations: 20 kB / 0.6824 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.355, allocations: 337.9 kB / 0.6828 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.3569, allocations: 0.7317 MB / 0.6835 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.3596, allocations: 1.412 MB / 0.6849 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.3616, allocations: 0.8766 MB / 0.6857 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3617, allocations: 4 kB / 0.6857 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.013/0.3747, allocations: 4.057 MB / 0.6897 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.3752, allocations: 446.7 kB / 0.6901 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.3752, allocations: 12 kB / 0.6901 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.3777, allocations: 1.011 MB / 0.6911 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/0.3786, allocations: 183.7 kB / 0.6913 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3758/0.7544, allocations: 8.66 MB / 0.6997 GB, free: 92.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.7572, allocations: 348.1 kB / 0.7001 GB, free: 92.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.7573, allocations: 64.33 kB / 0.7001 GB, free: 92.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.7574, allocations: 2.594 kB / 0.7001 GB, free: 92.84 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/0.7596, allocations: 1.36 MB / 0.7015 GB, free: 92.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.7596, allocations: 9.562 kB / 0.7015 GB, free: 92.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.76, allocations: 151.3 kB / 0.7016 GB, free: 92.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.7605, allocations: 169.6 kB / 0.7018 GB, free: 92.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.7626, allocations: 2.357 MB / 0.7041 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.7646, allocations: 200.9 kB / 0.7043 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.7647, allocations: 60.83 kB / 0.7043 GB, free: 91.36 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001273/0.766, allocations: 0.59 MB / 0.7049 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.7663, allocations: 183.9 kB / 0.7051 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00945/0.7758, allocations: 3.112 MB / 0.7081 GB, free: 91.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.7758, allocations: 11.41 kB / 0.7081 GB, free: 91.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7758, allocations: 0 / 0.7081 GB, free: 91.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008972/0.7848, allocations: 3.045 MB / 0.7111 GB, free: 89.87 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.01185/0.7967, allocations: 4.566 MB / 0.7156 GB, free: 88.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.7967, allocations: 3.938 kB / 0.7156 GB, free: 88.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.7972, allocations: 103.8 kB / 0.7157 GB, free: 88.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.7994, allocations: 0.9973 MB / 0.7166 GB, free: 87.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.7995, allocations: 15.95 kB / 0.7167 GB, free: 87.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.8167, allocations: 8.113 MB / 0.7246 GB, free: 83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8168, allocations: 0 / 0.7246 GB, free: 83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009443/0.8262, allocations: 3.944 MB / 0.7284 GB, free: 79.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008909/0.8271, allocations: 370.7 kB / 0.7288 GB, free: 78.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.8274, allocations: 15.98 kB / 0.7288 GB, free: 78.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.8287, allocations: 243.3 kB / 0.729 GB, free: 78.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.8289, allocations: 63.08 kB / 0.7291 GB, free: 78.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.829, allocations: 30.81 kB / 0.7291 GB, free: 78.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001585/0.8305, allocations: 1.294 MB / 0.7304 GB, free: 77.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8306, allocations: 4 kB / 0.7304 GB, free: 77.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002896/0.8335, allocations: 0.9517 MB / 0.7313 GB, free: 76.15 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 (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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009426/0.8344, allocations: 414.7 kB / 0.7317 GB, free: 75.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0057/0.8401, allocations: 3.444 MB / 0.7351 GB, free: 72.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8401, allocations: 0 / 0.7351 GB, free: 72.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.8425, allocations: 1.103 MB / 0.7361 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.8462, allocations: 0.9014 MB / 0.737 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.8513, allocations: 3.911 MB / 0.7408 GB, free: 66.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.8521, allocations: 1.514 MB / 0.7423 GB, free: 64.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001654/0.8538, allocations: 436.2 kB / 0.7427 GB, free: 64.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.854, allocations: 131.4 kB / 0.7429 GB, free: 64.28 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.854, allocations: 0 / 0.7429 GB, free: 64.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.0623/0.9164, allocations: 46.54 MB / 0.7883 GB, free: 18.14 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: