Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") [/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.2293/0.2301, allocations: 82.23 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07074/0.3009, allocations: 72.3 MB / 0.6647 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.3204, allocations: 11.21 MB / 0.6757 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.3238, allocations: 51.69 kB / 0.6757 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.3273, allocations: 0.7266 MB / 0.6764 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.338, allocations: 2.235 MB / 0.6786 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.3429, allocations: 1.235 MB / 0.6798 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009327/0.3522, allocations: 5.704 MB / 0.6854 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.3552, allocations: 1.135 MB / 0.6865 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/0.3595, allocations: 1.392 MB / 0.6879 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.3629, allocations: 1.202 MB / 0.689 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006295/0.3636, allocations: 60 kB / 0.6891 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.3673, allocations: 1.084 MB / 0.6901 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007776/0.3681, allocations: 306.6 kB / 0.6904 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.3705, allocations: 0.8373 MB / 0.6913 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4385/0.8091, allocations: 2.708 MB / 0.6939 GB, free: 38.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8091, allocations: 1.719 kB / 0.6939 GB, free: 38.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8091, allocations: 0 / 0.6939 GB, free: 38.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.212e-05/0.8092, allocations: 0 / 0.6939 GB, free: 38.32 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003891/0.8131, allocations: 1.773 MB / 0.6956 GB, free: 37.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8132, allocations: 9.906 kB / 0.6956 GB, free: 37.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.8144, allocations: 260.5 kB / 0.6959 GB, free: 37.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.8167, allocations: 1.433 MB / 0.6973 GB, free: 36.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.8167, allocations: 88.73 kB / 0.6974 GB, free: 36.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.8169, allocations: 108.9 kB / 0.6975 GB, free: 36.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.8197, allocations: 1.44 MB / 0.6989 GB, free: 36.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.8198, allocations: 4.656 kB / 0.6989 GB, free: 36.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.8199, allocations: 47.03 kB / 0.6989 GB, free: 36.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.8199, allocations: 40.08 kB / 0.699 GB, free: 36.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.8227, allocations: 1.133 MB / 0.7001 GB, free: 36.62 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 preOpt removeSimpleEquations (simulation): time 0.008352/0.8311, allocations: 6.676 MB / 0.7066 GB, free: 32.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.8329, allocations: 0.6812 MB / 0.7073 GB, free: 32.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.8337, allocations: 368 kB / 0.7076 GB, free: 32.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.8339, allocations: 178.7 kB / 0.7078 GB, free: 32.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8339, allocations: 45.66 kB / 0.7078 GB, free: 32.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.464e-06/0.8339, allocations: 0 / 0.7078 GB, free: 32.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.007175/0.8411, allocations: 2.527 MB / 0.7103 GB, free: 31.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.8412, allocations: 161.9 kB / 0.7104 GB, free: 31.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.8431, allocations: 1.247 MB / 0.7117 GB, free: 31.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.8432, allocations: 41.83 kB / 0.7117 GB, free: 31.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.8437, allocations: 0.6588 MB / 0.7123 GB, free: 31.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.844, allocations: 237.3 kB / 0.7126 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.8441, allocations: 72.95 kB / 0.7126 GB, free: 30.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.8442, allocations: 345.2 kB / 0.713 GB, free: 30.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/0.8451, allocations: 370.4 kB / 0.7133 GB, free: 30.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.8463, allocations: 0.7082 MB / 0.714 GB, free: 30.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.8484, allocations: 0.9909 MB / 0.715 GB, free: 29.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.8484, allocations: 4.031 kB / 0.715 GB, free: 29.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002865/0.8513, allocations: 1.147 MB / 0.7161 GB, free: 29.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.8515, allocations: 307.2 kB / 0.7164 GB, free: 29.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.8515, allocations: 7.25 kB / 0.7164 GB, free: 29.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/0.8516, allocations: 18.31 kB / 0.7164 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.8526, allocations: 249.6 kB / 0.7167 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/0.8527, allocations: 14.38 kB / 0.7167 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.8545, allocations: 147.9 kB / 0.7168 GB, free: 29.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.8546, allocations: 41.39 kB / 0.7169 GB, free: 29.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.8546, allocations: 3.312 kB / 0.7169 GB, free: 29.42 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002115/0.8567, allocations: 0.9374 MB / 0.7178 GB, free: 29.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.8567, allocations: 9.75 kB / 0.7178 GB, free: 29.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8568, allocations: 12.31 kB / 0.7178 GB, free: 29.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/0.8577, allocations: 226.1 kB / 0.718 GB, free: 29.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.864e-05/0.8577, allocations: 22.03 kB / 0.718 GB, free: 29.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.8594, allocations: 131.6 kB / 0.7182 GB, free: 29.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.8595, allocations: 41.42 kB / 0.7182 GB, free: 29.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001141/0.8607, allocations: 440.9 kB / 0.7186 GB, free: 29.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/0.8612, allocations: 142.5 kB / 0.7188 GB, free: 29.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/0.8647, allocations: 1.02 MB / 0.7198 GB, free: 29.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.8648, allocations: 6.875 kB / 0.7198 GB, free: 29.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.8648, allocations: 1.375 kB / 0.7198 GB, free: 29.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002215/0.867, allocations: 0.9211 MB / 0.7207 GB, free: 28.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/0.873, allocations: 2.607 MB / 0.7232 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.873, allocations: 6.562 kB / 0.7232 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.8738, allocations: 173.8 kB / 0.7234 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.8741, allocations: 92.84 kB / 0.7235 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.8742, allocations: 21.88 kB / 0.7235 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006422/0.8748, allocations: 1.155 MB / 0.7246 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.8749, allocations: 8.219 kB / 0.7246 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/0.8783, allocations: 1.639 MB / 0.7262 GB, free: 26.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.8796, allocations: 339.9 kB / 0.7265 GB, free: 26.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005908/0.8802, allocations: 19.94 kB / 0.7266 GB, free: 26.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.8817, allocations: 111 kB / 0.7267 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.882, allocations: 66.69 kB / 0.7267 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.8821, allocations: 36.64 kB / 0.7268 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001713/0.8838, allocations: 0.8725 MB / 0.7276 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8838, allocations: 6.25 kB / 0.7276 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002928/0.8868, allocations: 0.6404 MB / 0.7283 GB, free: 26.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008552/0.8876, allocations: 369.2 kB / 0.7286 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003306/0.8909, allocations: 1.396 MB / 0.73 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.891, allocations: 0 / 0.73 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.892, allocations: 475.9 kB / 0.7304 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/0.8976, allocations: 0.8557 MB / 0.7313 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.9032, allocations: 2.991 MB / 0.7342 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.9043, allocations: 1.194 MB / 0.7353 GB, free: 23.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002299/0.9066, allocations: 356.3 kB / 0.7357 GB, free: 23.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.9071, allocations: 118.7 kB / 0.7358 GB, free: 23.79 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.9072, allocations: 0 / 0.7358 GB, free: 23.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.05389/0.9611, allocations: 31.29 MB / 0.7664 GB, free: 460 kB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: