Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006201/0.006201, allocations: 100.8 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 193.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.239/2.239, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 67.89 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5792, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05534/0.6345, allocations: 61.21 MB / 1.226 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.6486, allocations: 11.99 MB / 1.238 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007779/0.6494, allocations: 63.62 kB / 1.238 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.6507, allocations: 0.683 MB / 1.238 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.654, allocations: 1.96 MB / 1.24 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.6561, allocations: 1.212 MB / 1.241 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.659, allocations: 3.079 MB / 1.244 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.6601, allocations: 1.092 MB / 1.246 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.6622, allocations: 1.332 MB / 1.247 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.6632, allocations: 0.8906 MB / 1.248 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.6634, allocations: 116 kB / 1.248 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.6655, allocations: 1.443 MB / 1.249 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.6658, allocations: 294.9 kB / 1.25 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005895/0.6664, allocations: 0.688 MB / 1.25 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.6688, allocations: 2.312 MB / 1.252 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.6688, allocations: 4 kB / 1.252 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.093e-06/0.6688, allocations: 0 / 1.252 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.6689, allocations: 0 / 1.252 GB, free: 11.09 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00251/0.6714, allocations: 1.773 MB / 1.254 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.6714, allocations: 12.92 kB / 1.254 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.6716, allocations: 126.9 kB / 1.254 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.6735, allocations: 419.6 kB / 1.255 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.6753, allocations: 1.172 MB / 1.256 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.6754, allocations: 62 kB / 1.256 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6755, allocations: 80 kB / 1.256 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.6773, allocations: 0.9976 MB / 1.257 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.6773, allocations: 7.938 kB / 1.257 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/0.6774, allocations: 32 kB / 1.257 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.6774, allocations: 16 kB / 1.257 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.6794, allocations: 0.8469 MB / 1.258 GB, free: 5.379 MB / 0.9825 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.005662/0.6851, allocations: 5.224 MB / 1.263 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.6882, allocations: 0.7814 MB / 1.264 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.6889, allocations: 296.7 kB / 1.264 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.6895, allocations: 0.9063 MB / 1.265 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.6896, allocations: 46.44 kB / 1.265 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/0.6896, allocations: 0 / 1.265 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.006231/0.6958, allocations: 1.7 MB / 1.267 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.6959, allocations: 59.41 kB / 1.267 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.6972, allocations: 1.072 MB / 1.268 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.6973, allocations: 41.62 kB / 1.268 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.6977, allocations: 0.5397 MB / 1.268 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.6978, allocations: 162.6 kB / 1.268 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.698, allocations: 134.3 kB / 1.269 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6981, allocations: 329.9 kB / 1.269 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.699, allocations: 307.3 kB / 1.269 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.7, allocations: 0.529 MB / 1.27 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.7015, allocations: 0.7133 MB / 1.27 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.7016, allocations: 4 kB / 1.27 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002399/0.704, allocations: 1.009 MB / 1.271 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.704, allocations: 8 kB / 1.271 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.704, allocations: 4 kB / 1.271 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.7051, allocations: 312.6 kB / 1.272 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.7056, allocations: 127.8 kB / 1.272 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.7069, allocations: 0.895 MB / 1.273 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009467/0.7079, allocations: 155.3 kB / 1.273 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.7079, allocations: 35.98 kB / 1.273 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/0.709, allocations: 0.509 MB / 1.273 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009837/0.71, allocations: 0.529 MB / 1.274 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001536/0.7115, allocations: 0.7061 MB / 1.275 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.7115, allocations: 0 / 1.275 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002379/0.7139, allocations: 1.009 MB / 1.276 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.7139, allocations: 8 kB / 1.276 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.714, allocations: 4 kB / 1.276 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/0.7149, allocations: 296.6 kB / 1.276 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.7154, allocations: 131.8 kB / 1.276 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.7167, allocations: 0.8996 MB / 1.277 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/0.7176, allocations: 131.7 kB / 1.277 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.7177, allocations: 35.98 kB / 1.277 GB, free: 0.6875 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.7179, allocations: 216.1 kB / 1.277 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.718, allocations: 115.2 kB / 1.277 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.7202, allocations: 0.9261 MB / 1.278 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.7202, allocations: 4 kB / 1.278 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7202, allocations: 7.922 kB / 1.278 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7202, allocations: 4 kB / 1.278 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.7247, allocations: 2.142 MB / 1.28 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7247, allocations: 4.328 kB / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.7249, allocations: 67.88 kB / 1.28 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008524/0.7258, allocations: 291 kB / 1.281 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.7259, allocations: 23.92 kB / 1.281 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.7272, allocations: 0.923 MB / 1.282 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7272, allocations: 4.031 kB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.7304, allocations: 1.145 MB / 1.283 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.7308, allocations: 272.1 kB / 1.283 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7309, allocations: 8 kB / 1.283 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/0.7316, allocations: 75.91 kB / 1.283 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.7317, allocations: 43.77 kB / 1.283 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.7317, allocations: 23.98 kB / 1.283 GB, free: 10.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00101/0.7328, allocations: 0.7551 MB / 1.284 GB, free: 9.453 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7328, allocations: 0 / 1.284 GB, free: 9.453 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001152/0.7339, allocations: 0.5692 MB / 1.284 GB, free: 8.883 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004086/0.738, allocations: 1.972 MB / 1.286 GB, free: 6.867 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002787/0.7408, allocations: 1.12 MB / 1.287 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7408, allocations: 0.9375 kB / 1.287 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.7416, allocations: 338.2 kB / 1.288 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.7435, allocations: 0.5042 MB / 1.288 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.7585, allocations: 8.462 MB / 1.297 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.7591, allocations: 1.065 MB / 1.298 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006209/0.7597, allocations: 220.9 kB / 1.298 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.7602, allocations: 415.3 kB / 1.298 GB, free: 10.41 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/0.7603, allocations: 3.938 kB / 1.298 GB, free: 10.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9844/1.745, allocations: 33.51 MB / 1.331 GB, free: 9.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/17.15, allocations: 0.9844 kB / 1.331 GB, free: 9.281 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)