Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_11_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.007355/0.007356, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.00202/0.00202, allocations: 195.6 kB / 16.68 MB, free: 5.969 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 67.83 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2467, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.5032/0.75, allocations: 61.22 MB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.765, allocations: 12 MB / 1.292 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.7667, allocations: 59.16 kB / 1.292 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.7683, allocations: 0.6713 MB / 1.292 GB, free: 6.961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.7727, allocations: 1.966 MB / 1.294 GB, free: 5.785 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.7753, allocations: 1.207 MB / 1.295 GB, free: 5.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.7786, allocations: 3.08 MB / 1.298 GB, free: 3.613 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.7798, allocations: 1.092 MB / 1.3 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.7821, allocations: 1.333 MB / 1.301 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.7831, allocations: 0.9003 MB / 1.302 GB, free: 2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.7833, allocations: 114.5 kB / 1.302 GB, free: 2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.7857, allocations: 1.445 MB / 1.303 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.786, allocations: 289 kB / 1.304 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.7866, allocations: 0.6939 MB / 1.304 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.7894, allocations: 2.307 MB / 1.306 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7894, allocations: 1.125 kB / 1.306 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7894, allocations: 0 / 1.306 GB, free: 12 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.7894, allocations: 0 / 1.306 GB, free: 12 kB / 1.014 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.002633/0.792, allocations: 1.772 MB / 1.308 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.7921, allocations: 8.875 kB / 1.308 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.7922, allocations: 124 kB / 1.308 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.7942, allocations: 414.5 kB / 1.309 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.7961, allocations: 1.169 MB / 1.31 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.7961, allocations: 64.78 kB / 1.31 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7963, allocations: 78.38 kB / 1.31 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.7981, allocations: 0.9994 MB / 1.311 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.7981, allocations: 5.438 kB / 1.311 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.7982, allocations: 32.62 kB / 1.311 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.7982, allocations: 18.88 kB / 1.311 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.8003, allocations: 0.8522 MB / 1.312 GB, free: 13.03 MB / 1.029 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.006081/0.8064, allocations: 5.22 MB / 1.317 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.8095, allocations: 0.7955 MB / 1.318 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.8102, allocations: 300.9 kB / 1.318 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.8109, allocations: 0.9006 MB / 1.319 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.8109, allocations: 37.84 kB / 1.319 GB, free: 7.531 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.8109, allocations: 0 / 1.319 GB, free: 7.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.006335/0.8173, allocations: 1.705 MB / 1.321 GB, free: 7.043 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8173, allocations: 56.09 kB / 1.321 GB, free: 6.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.8187, allocations: 1.071 MB / 1.322 GB, free: 6.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.8188, allocations: 42.08 kB / 1.322 GB, free: 6.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.8193, allocations: 0.5356 MB / 1.322 GB, free: 6.074 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.8194, allocations: 163 kB / 1.322 GB, free: 5.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.8196, allocations: 135.3 kB / 1.323 GB, free: 5.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8198, allocations: 331.2 kB / 1.323 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/0.8206, allocations: 313.1 kB / 1.323 GB, free: 5.461 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.8217, allocations: 0.5178 MB / 1.324 GB, free: 5.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.8233, allocations: 0.7158 MB / 1.324 GB, free: 4.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8233, allocations: 2.719 kB / 1.324 GB, free: 4.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002426/0.8257, allocations: 1.015 MB / 1.325 GB, free: 4.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.8257, allocations: 9.031 kB / 1.325 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.8257, allocations: 6.344 kB / 1.325 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.8269, allocations: 316.8 kB / 1.326 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.8274, allocations: 131.2 kB / 1.326 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.8287, allocations: 0.8933 MB / 1.327 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.8297, allocations: 163.8 kB / 1.327 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.8298, allocations: 34.22 kB / 1.327 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001065/0.8309, allocations: 0.5051 MB / 1.327 GB, free: 3.246 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/0.8319, allocations: 0.5207 MB / 1.328 GB, free: 2.879 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001554/0.8335, allocations: 0.6934 MB / 1.329 GB, free: 2.488 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.8335, allocations: 1.062 kB / 1.329 GB, free: 2.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002403/0.8359, allocations: 1.009 MB / 1.33 GB, free: 2.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.8359, allocations: 15.12 kB / 1.33 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8359, allocations: 5.812 kB / 1.33 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/0.8369, allocations: 298.1 kB / 1.33 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.8374, allocations: 132.1 kB / 1.33 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.8387, allocations: 0.8994 MB / 1.331 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/0.8396, allocations: 128.8 kB / 1.331 GB, free: 1.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.8397, allocations: 36.22 kB / 1.331 GB, free: 1.316 MB / 1.029 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.0001816/0.8399, allocations: 220.2 kB / 1.331 GB, free: 1.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.8401, allocations: 121.6 kB / 1.331 GB, free: 1.039 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.8422, allocations: 0.9099 MB / 1.332 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.8422, allocations: 6.297 kB / 1.332 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8422, allocations: 5.156 kB / 1.332 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.8422, allocations: 10.78 kB / 1.332 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.8467, allocations: 2.154 MB / 1.334 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.8467, allocations: 2.625 kB / 1.334 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.847, allocations: 62.39 kB / 1.334 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000847/0.8478, allocations: 290.5 kB / 1.335 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.8479, allocations: 22.55 kB / 1.335 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.8492, allocations: 0.9264 MB / 1.336 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8492, allocations: 6.75 kB / 1.336 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/0.8524, allocations: 1.147 MB / 1.337 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.8527, allocations: 272.7 kB / 1.337 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.8528, allocations: 8.812 kB / 1.337 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/0.8536, allocations: 72.91 kB / 1.337 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.8537, allocations: 43.02 kB / 1.337 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.8537, allocations: 26.66 kB / 1.337 GB, free: 14.15 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009729/0.8547, allocations: 0.7557 MB / 1.338 GB, free: 13.83 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8547, allocations: 0 / 1.338 GB, free: 13.83 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001282/0.856, allocations: 0.569 MB / 1.338 GB, free: 13.71 MB / 1.045 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.004119/0.8601, allocations: 1.975 MB / 1.34 GB, free: 12.56 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.8629, allocations: 1.12 MB / 1.341 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8629, allocations: 5.281 kB / 1.341 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/0.8637, allocations: 343.1 kB / 1.342 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.8657, allocations: 0.5084 MB / 1.342 GB, free: 11.81 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.881, allocations: 8.434 MB / 1.35 GB, free: 6.613 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.8816, allocations: 1.064 MB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007022/0.8823, allocations: 228.7 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.8829, allocations: 417.8 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of SimCode: time 2.4e-07/0.8829, allocations: 0 / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.352/3.235, allocations: 33.49 MB / 1.385 GB, free: 11.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.19/22.42, allocations: 17.34 kB / 1.385 GB, free: 11.9 MB / 1.076 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)