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.1491/0.151, allocations: 80.84 MB / 0.5899 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.0295/0.1806, allocations: 32.32 MB / 0.6214 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.1979, allocations: 12.62 MB / 0.6337 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.1996, allocations: 55.62 kB / 0.6338 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.2018, allocations: 0.6571 MB / 0.6344 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.2055, allocations: 1.415 MB / 0.6358 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.2091, allocations: 1.537 MB / 0.6373 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006005/0.2151, allocations: 5.146 MB / 0.6423 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.218, allocations: 2.14 MB / 0.6444 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.2224, allocations: 2.025 MB / 0.6464 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.2247, allocations: 1.466 MB / 0.6478 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.2251, allocations: 168 kB / 0.648 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.228, allocations: 1.361 MB / 0.6493 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.2286, allocations: 0.5099 MB / 0.6498 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.2299, allocations: 1.081 MB / 0.6509 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004199/0.2341, allocations: 3.303 MB / 0.6541 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2342, allocations: 4 kB / 0.6541 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2342, allocations: 0 / 0.6541 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.396e-05/0.2342, allocations: 0 / 0.6541 GB, free: 4.941 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.004293/0.2385, allocations: 2.565 MB / 0.6566 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2386, allocations: 11.97 kB / 0.6566 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.2399, allocations: 306.2 kB / 0.6569 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.2434, allocations: 1.725 MB / 0.6586 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.2436, allocations: 82 kB / 0.6587 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.2438, allocations: 112 kB / 0.6588 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.248, allocations: 1.528 MB / 0.6603 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.2481, allocations: 7.938 kB / 0.6603 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.2482, allocations: 43.94 kB / 0.6603 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.2483, allocations: 28 kB / 0.6604 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.2516, allocations: 1.182 MB / 0.6615 GB, free: 13.14 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.008229/0.2598, allocations: 7.098 MB / 0.6684 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.2623, allocations: 0.7468 MB / 0.6692 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.2629, allocations: 351.3 kB / 0.6695 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/0.2654, allocations: 1.549 MB / 0.671 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/0.2675, allocations: 0.5785 MB / 0.6716 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006538/0.2681, allocations: 127.1 kB / 0.6717 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.2681, allocations: 0 / 0.6717 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.01523/0.2834, allocations: 3.561 MB / 0.6752 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.2835, allocations: 137 kB / 0.6753 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.286, allocations: 1.805 MB / 0.6771 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/0.2863, allocations: 41.7 kB / 0.6771 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/0.2871, allocations: 0.8819 MB / 0.678 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.2873, allocations: 181.4 kB / 0.6782 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.2877, allocations: 254.4 kB / 0.6784 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2879, allocations: 349.9 kB / 0.6787 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009796/0.2889, allocations: 432.5 kB / 0.6791 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.2903, allocations: 1.007 MB / 0.6801 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.2924, allocations: 1.163 MB / 0.6813 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2924, allocations: 0 / 0.6813 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005728/0.2981, allocations: 1.752 MB / 0.683 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.891e-05/0.2982, allocations: 91.36 kB / 0.6831 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.2983, allocations: 8 kB / 0.6831 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/0.2992, allocations: 308.5 kB / 0.6834 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.2999, allocations: 175.7 kB / 0.6835 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009134/0.309, allocations: 3.961 MB / 0.6874 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.3112, allocations: 143.7 kB / 0.6875 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.3114, allocations: 59.97 kB / 0.6876 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001354/0.3128, allocations: 0.7867 MB / 0.6884 GB, free: 260 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.3139, allocations: 0.9207 MB / 0.6893 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001529/0.3155, allocations: 1.027 MB / 0.6903 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.426e-06/0.3155, allocations: 8.062 kB / 0.6903 GB, free: 13.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002825/0.3183, allocations: 1.47 MB / 0.6917 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/0.3184, allocations: 89.03 kB / 0.6918 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3185, allocations: 12 kB / 0.6918 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.3187, allocations: 125.7 kB / 0.6919 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.3193, allocations: 167.7 kB / 0.6921 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.3218, allocations: 2.317 MB / 0.6943 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.3238, allocations: 148.4 kB / 0.6945 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.324, allocations: 59.97 kB / 0.6945 GB, free: 9.352 MB / 0.545 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.0004254/0.3244, allocations: 248 kB / 0.6948 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.3247, allocations: 173.8 kB / 0.6949 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.3288, allocations: 1.309 MB / 0.6962 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.3288, allocations: 8 kB / 0.6962 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3288, allocations: 3.984 kB / 0.6962 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003414/0.3323, allocations: 1.235 MB / 0.6974 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/0.3384, allocations: 2.541 MB / 0.6999 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3385, allocations: 3.938 kB / 0.6999 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.339, allocations: 103.9 kB / 0.7 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007842/0.3398, allocations: 276.6 kB / 0.7003 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.3399, allocations: 23.97 kB / 0.7003 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2853/0.6252, allocations: 3.656 MB / 0.7039 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6252, allocations: 2.281 kB / 0.7039 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/0.6298, allocations: 1.742 MB / 0.7056 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/0.6305, allocations: 309.7 kB / 0.7059 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.6308, allocations: 17.17 kB / 0.7059 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.6316, allocations: 79.67 kB / 0.706 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.6318, allocations: 61.56 kB / 0.706 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.139e-05/0.6319, allocations: 33.56 kB / 0.7061 GB, free: 108.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001344/0.6332, allocations: 1.246 MB / 0.7073 GB, free: 108.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6332, allocations: 0 / 0.7073 GB, free: 108.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002382/0.6356, allocations: 0.8452 MB / 0.7081 GB, free: 108.3 MB / 0.545 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 (55): * Single equations (assignments): 49 * 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.0009041/0.6365, allocations: 428.6 kB / 0.7085 GB, free: 108.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004143/0.6407, allocations: 2.664 MB / 0.7111 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6407, allocations: 1.719 kB / 0.7111 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6419, allocations: 0.599 MB / 0.7117 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.6453, allocations: 0.8329 MB / 0.7125 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.6504, allocations: 3.675 MB / 0.7161 GB, free: 106 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.6516, allocations: 1.524 MB / 0.7176 GB, free: 105.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001963/0.6536, allocations: 421.6 kB / 0.718 GB, free: 105.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.6539, allocations: 134.6 kB / 0.7181 GB, free: 105.2 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.6539, allocations: 0.625 kB / 0.7181 GB, free: 105.2 MB / 0.545 GB Notification: Performance of Templates: time 0.05399/0.7079, allocations: 42.22 MB / 0.7594 GB, free: 75.5 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (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)