Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.677/2.677, allocations: 287.5 MB / 302.4 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001354, allocations: 181.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.317/2.317, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009589/0.000959, allocations: 101.5 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006609/0.0006613, allocations: 12.02 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2113, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.08011/0.2915, allocations: 56.5 MB / 1.034 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03336/0.3249, allocations: 11.14 MB / 1.045 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.3278, allocations: 51.62 kB / 1.045 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.3312, allocations: 468.8 kB / 1.045 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009623/0.3409, allocations: 1.52 MB / 1.046 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004848/0.3458, allocations: 0.8697 MB / 1.047 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006695/0.3525, allocations: 3.386 MB / 1.051 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.3546, allocations: 0.7821 MB / 1.051 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.3582, allocations: 1.042 MB / 1.052 GB, free: 296 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.3606, allocations: 0.8127 MB / 1.053 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000365/0.361, allocations: 44 kB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.3653, allocations: 1.099 MB / 1.054 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005041/0.3658, allocations: 207 kB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.3666, allocations: 281 kB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003771/0.3703, allocations: 1.641 MB / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.3704, allocations: 0 / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3704, allocations: 7.938 kB / 1.056 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.903e-05/0.3705, allocations: 0 / 1.056 GB, free: 12.19 MB / 0.6823 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.004548/0.3751, allocations: 1.503 MB / 1.058 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.3751, allocations: 12.03 kB / 1.058 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/0.3755, allocations: 122.7 kB / 1.058 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.3795, allocations: 469.9 kB / 1.058 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.3834, allocations: 1.105 MB / 1.06 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006649/0.3842, allocations: 121.9 kB / 1.06 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.3844, allocations: 87.94 kB / 1.06 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.3881, allocations: 0.9956 MB / 1.061 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.3882, allocations: 3.938 kB / 1.061 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.3884, allocations: 36 kB / 1.061 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.3884, allocations: 20 kB / 1.061 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.3928, allocations: 0.9134 MB / 1.062 GB, free: 6.66 MB / 0.6823 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.01105/0.4039, allocations: 4.618 MB / 1.066 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.4104, allocations: 0.9382 MB / 1.067 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.412, allocations: 334 kB / 1.067 GB, free: 464 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6151/1.027, allocations: 0.8999 MB / 1.068 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.027, allocations: 38.16 kB / 1.068 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.296e-06/1.027, allocations: 0 / 1.068 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01474/1.042, allocations: 1.991 MB / 1.07 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.042, allocations: 58.66 kB / 1.07 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/1.045, allocations: 1.053 MB / 1.071 GB, free: 89.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.045, allocations: 33.7 kB / 1.071 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/1.046, allocations: 0.5255 MB / 1.072 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/1.046, allocations: 169.1 kB / 1.072 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/1.046, allocations: 10.03 kB / 1.072 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/1.046, allocations: 330 kB / 1.072 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/1.048, allocations: 333.6 kB / 1.073 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/1.05, allocations: 0.5275 MB / 1.073 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/1.052, allocations: 363.4 kB / 1.074 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.053, allocations: 5.844 kB / 1.074 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007344/1.06, allocations: 1.224 MB / 1.075 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/1.06, allocations: 201.8 kB / 1.075 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.06, allocations: 4.516 kB / 1.075 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/1.062, allocations: 338.3 kB / 1.075 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.064, allocations: 130.2 kB / 1.075 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/1.066, allocations: 0.9369 MB / 1.076 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.069, allocations: 192.1 kB / 1.076 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/1.069, allocations: 37.39 kB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.069, allocations: 7.75 kB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006666/1.076, allocations: 1.09 MB / 1.078 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.076, allocations: 4.562 kB / 1.078 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/1.078, allocations: 322.5 kB / 1.078 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.079, allocations: 137.2 kB / 1.078 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/1.082, allocations: 0.9383 MB / 1.079 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.084, allocations: 168 kB / 1.079 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.084, allocations: 28.42 kB / 1.079 GB, free: 86.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007811/1.085, allocations: 353.9 kB / 1.079 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/1.085, allocations: 111.6 kB / 1.08 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/1.09, allocations: 1.041 MB / 1.081 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.09, allocations: 6.953 kB / 1.081 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.09, allocations: 0.9062 kB / 1.081 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.09, allocations: 2.438 kB / 1.081 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.102, allocations: 2.463 MB / 1.083 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.102, allocations: 2.234 kB / 1.083 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/1.103, allocations: 82.55 kB / 1.083 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/1.105, allocations: 328.7 kB / 1.083 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.105, allocations: 13.19 kB / 1.083 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/1.107, allocations: 0.9722 MB / 1.084 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.107, allocations: 2.75 kB / 1.084 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006845/1.114, allocations: 1.301 MB / 1.086 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/1.115, allocations: 285 kB / 1.086 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/1.116, allocations: 13.31 kB / 1.086 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.117, allocations: 119.8 kB / 1.086 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.117, allocations: 41.72 kB / 1.086 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.1e-05/1.117, allocations: 24.36 kB / 1.086 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001942/1.119, allocations: 0.7321 MB / 1.087 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/1.119, allocations: 4 kB / 1.087 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002464/1.122, allocations: 0.5613 MB / 1.087 GB, free: 82.37 MB / 0.6823 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008124/1.13, allocations: 2.089 MB / 1.089 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006135/1.136, allocations: 1.204 MB / 1.091 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.136, allocations: 1.062 kB / 1.091 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.138, allocations: 388.7 kB / 1.091 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/1.143, allocations: 0.5221 MB / 1.091 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.169, allocations: 6.943 MB / 1.098 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.169, allocations: 1.066 MB / 1.099 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001899/1.171, allocations: 236.5 kB / 1.1 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/1.172, allocations: 411.2 kB / 1.1 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/1.172, allocations: 1.281 kB / 1.1 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0928/1.265, allocations: 33.87 MB / 1.133 GB, free: 52.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.265, allocations: 249.6 kB / 1.133 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.112/5.377, allocations: 3.938 kB / 1.133 GB, free: 52.29 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)