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.1434/0.1453, allocations: 80.84 MB / 0.5899 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02943/0.1748, allocations: 29.21 MB / 0.6184 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.1921, allocations: 12.04 MB / 0.6302 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1938, allocations: 43.69 kB / 0.6302 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1958, allocations: 0.6221 MB / 0.6308 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.1992, allocations: 1.303 MB / 0.6321 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.2026, allocations: 1.48 MB / 0.6335 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004771/0.2074, allocations: 4.037 MB / 0.6375 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.2095, allocations: 1.376 MB / 0.6388 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.2128, allocations: 1.562 MB / 0.6403 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.2146, allocations: 1.148 MB / 0.6415 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.2148, allocations: 140 kB / 0.6416 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.2177, allocations: 1.322 MB / 0.6429 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.2183, allocations: 426.6 kB / 0.6433 GB, free: 92 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2194, allocations: 0.8477 MB / 0.6441 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.2231, allocations: 2.75 MB / 0.6468 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2231, allocations: 0 / 0.6468 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2231, allocations: 0 / 0.6468 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.2232, allocations: 0 / 0.6468 GB, free: 12.48 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.003366/0.2265, allocations: 2.081 MB / 0.6488 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2266, allocations: 12.03 kB / 0.6488 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.2277, allocations: 254.8 kB / 0.6491 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2302, allocations: 1.389 MB / 0.6504 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.2303, allocations: 66 kB / 0.6505 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.2304, allocations: 91.98 kB / 0.6506 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.2333, allocations: 1.21 MB / 0.6518 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.2334, allocations: 4 kB / 0.6518 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.2335, allocations: 35.94 kB / 0.6518 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2335, allocations: 20 kB / 0.6518 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.2361, allocations: 0.9364 MB / 0.6527 GB, free: 6.199 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.005914/0.2421, allocations: 5.336 MB / 0.658 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.2444, allocations: 0.7382 MB / 0.6587 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.2451, allocations: 310.6 kB / 0.659 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/0.247, allocations: 1.399 MB / 0.6603 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/0.249, allocations: 0.5374 MB / 0.6609 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000446/0.2495, allocations: 87.34 kB / 0.6609 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.2495, allocations: 0 / 0.6609 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50): time 0.01024/0.2597, allocations: 2.801 MB / 0.6637 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.2598, allocations: 133 kB / 0.6638 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.2614, allocations: 1.294 MB / 0.6651 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.2615, allocations: 41.7 kB / 0.6651 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.2621, allocations: 0.6527 MB / 0.6658 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.2623, allocations: 177.5 kB / 0.6659 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.2626, allocations: 210.5 kB / 0.6661 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2627, allocations: 334 kB / 0.6664 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.2636, allocations: 404.4 kB / 0.6668 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.2648, allocations: 0.7745 MB / 0.6676 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.2666, allocations: 0.9753 MB / 0.6685 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2666, allocations: 11.98 kB / 0.6685 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005031/0.2717, allocations: 1.536 MB / 0.67 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.2718, allocations: 91.47 kB / 0.6701 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2718, allocations: 8 kB / 0.6701 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000834/0.2726, allocations: 288.6 kB / 0.6704 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.2732, allocations: 147.7 kB / 0.6706 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009468/0.2827, allocations: 3.946 MB / 0.6744 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.2843, allocations: 111.8 kB / 0.6745 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.2844, allocations: 51.97 kB / 0.6746 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.2855, allocations: 0.6267 MB / 0.6752 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008911/0.2864, allocations: 0.6998 MB / 0.6759 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001216/0.2877, allocations: 0.8465 MB / 0.6767 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.2877, allocations: 0 / 0.6767 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002187/0.2899, allocations: 1.253 MB / 0.6779 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.29, allocations: 87.38 kB / 0.678 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.29, allocations: 8.625 kB / 0.678 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.2902, allocations: 111.9 kB / 0.6781 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.2907, allocations: 139.7 kB / 0.6782 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.2929, allocations: 2.399 MB / 0.6806 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2942, allocations: 103.8 kB / 0.6807 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.2943, allocations: 55.92 kB / 0.6807 GB, free: 7.961 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.0003313/0.2946, allocations: 233 kB / 0.681 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.2948, allocations: 130.4 kB / 0.6811 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.2986, allocations: 1.17 MB / 0.6822 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.2986, allocations: 8.094 kB / 0.6822 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2986, allocations: 3.938 kB / 0.6822 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003221/0.3018, allocations: 1.16 MB / 0.6834 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.3071, allocations: 2.264 MB / 0.6856 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3072, allocations: 8.125 kB / 0.6856 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.3076, allocations: 95.75 kB / 0.6857 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007456/0.3084, allocations: 286.3 kB / 0.686 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.3084, allocations: 19.97 kB / 0.686 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008247/0.3167, allocations: 3.7 MB / 0.6896 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3167, allocations: 0 / 0.6896 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004591/0.3213, allocations: 1.587 MB / 0.6911 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006291/0.322, allocations: 271.4 kB / 0.6914 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.3222, allocations: 12 kB / 0.6914 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.323, allocations: 83.95 kB / 0.6915 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.3232, allocations: 56.47 kB / 0.6915 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.3232, allocations: 27.97 kB / 0.6916 GB, free: 12.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001246/0.3245, allocations: 0.8936 MB / 0.6924 GB, free: 11.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 0 / 0.6924 GB, free: 11.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002612/0.3271, allocations: 0.7108 MB / 0.6931 GB, free: 10.88 MB / 0.545 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 (49): * Single equations (assignments): 43 * 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.001004/0.3281, allocations: 421.3 kB / 0.6935 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005443/0.3336, allocations: 2.585 MB / 0.6961 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3336, allocations: 0 / 0.6961 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.3359, allocations: 0.6661 MB / 0.6967 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.3387, allocations: 0.6587 MB / 0.6974 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.3438, allocations: 2.975 MB / 0.7003 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.3446, allocations: 1.28 MB / 0.7015 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00126/0.3459, allocations: 319.7 kB / 0.7018 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3461, allocations: 99.41 kB / 0.7019 GB, free: 1.785 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/0.3461, allocations: 0 / 0.7019 GB, free: 1.785 MB / 0.545 GB Notification: Performance of Templates: time 0.3099/0.6561, allocations: 34.45 MB / 0.7356 GB, free: 96.83 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (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)