Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.4 MB / 303.3 MB, free: 8.035 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.001022/0.001022, allocations: 169.7 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0008389/0.0008389, allocations: 78.92 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 12.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2273, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04912/0.2764, allocations: 56.5 MB / 1.035 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.2921, allocations: 11.14 MB / 1.046 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.294, allocations: 51.62 kB / 1.046 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.2954, allocations: 460.9 kB / 1.046 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.3, allocations: 1.522 MB / 1.048 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.3027, allocations: 0.8734 MB / 1.049 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004048/0.3068, allocations: 3.386 MB / 1.052 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.308, allocations: 0.7938 MB / 1.053 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.3101, allocations: 1.042 MB / 1.054 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3113, allocations: 0.8049 MB / 1.054 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3114, allocations: 44 kB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.3141, allocations: 1.103 MB / 1.056 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.3144, allocations: 203 kB / 1.056 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.3148, allocations: 289 kB / 1.056 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.3168, allocations: 1.637 MB / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3169, allocations: 3.938 kB / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.44e-06/0.3169, allocations: 0 / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.3169, allocations: 3.938 kB / 1.058 GB, free: 11.49 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.002882/0.3198, allocations: 1.508 MB / 1.059 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3198, allocations: 8.031 kB / 1.059 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.32, allocations: 126.7 kB / 1.059 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.3222, allocations: 473.9 kB / 1.06 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.3244, allocations: 1.098 MB / 1.061 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.3248, allocations: 125.9 kB / 1.061 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.3249, allocations: 84 kB / 1.061 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.3271, allocations: 0.9995 MB / 1.062 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.3271, allocations: 0 / 1.062 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.3272, allocations: 32 kB / 1.062 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3272, allocations: 19.94 kB / 1.062 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.3295, allocations: 0.9212 MB / 1.063 GB, free: 5.949 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.00653/0.3361, allocations: 4.61 MB / 1.067 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.3397, allocations: 0.9305 MB / 1.068 GB, free: 88 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5266/0.8663, allocations: 332.2 kB / 1.069 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.867, allocations: 0.9034 MB / 1.069 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.867, allocations: 41.3 kB / 1.07 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.677e-06/0.867, allocations: 0 / 1.07 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008513/0.8755, allocations: 1.991 MB / 1.071 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.8756, allocations: 60.55 kB / 1.072 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.8778, allocations: 1.05 MB / 1.073 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.8779, allocations: 37.72 kB / 1.073 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.8784, allocations: 0.5225 MB / 1.073 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.8785, allocations: 166.1 kB / 1.073 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.8786, allocations: 12.88 kB / 1.073 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8787, allocations: 329.2 kB / 1.074 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.8797, allocations: 333.8 kB / 1.074 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.881, allocations: 0.5228 MB / 1.074 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.8821, allocations: 373.4 kB / 1.075 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.8821, allocations: 1.312 kB / 1.075 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00429/0.8864, allocations: 1.228 MB / 1.076 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.8866, allocations: 201.3 kB / 1.076 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.8866, allocations: 8.953 kB / 1.076 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.8881, allocations: 330.7 kB / 1.076 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.8888, allocations: 134.5 kB / 1.077 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.8905, allocations: 0.9349 MB / 1.078 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.8922, allocations: 192.8 kB / 1.078 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.8923, allocations: 30.08 kB / 1.078 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8923, allocations: 3.75 kB / 1.078 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00395/0.8963, allocations: 1.095 MB / 1.079 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.8963, allocations: 3.562 kB / 1.079 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.8976, allocations: 325.5 kB / 1.079 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.8983, allocations: 138.6 kB / 1.079 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.8999, allocations: 0.9341 MB / 1.08 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.9014, allocations: 176.6 kB / 1.08 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.9015, allocations: 29.8 kB / 1.08 GB, free: 85.76 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.0007408/0.9023, allocations: 352.9 kB / 1.081 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.9026, allocations: 109 kB / 1.081 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.9056, allocations: 1.043 MB / 1.082 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.9057, allocations: 5.906 kB / 1.082 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.9057, allocations: 1.062 kB / 1.082 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.9057, allocations: 2.953 kB / 1.082 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/0.9127, allocations: 2.465 MB / 1.084 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.9127, allocations: 2.812 kB / 1.084 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.9131, allocations: 73.7 kB / 1.084 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.9143, allocations: 329.8 kB / 1.085 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.9143, allocations: 17.59 kB / 1.085 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.9159, allocations: 0.9653 MB / 1.086 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.9159, allocations: 3.219 kB / 1.086 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.9202, allocations: 1.295 MB / 1.087 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.9209, allocations: 289.8 kB / 1.087 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.9211, allocations: 14.38 kB / 1.087 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.922, allocations: 121.8 kB / 1.087 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9221, allocations: 37.69 kB / 1.087 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.594e-05/0.9222, allocations: 27.17 kB / 1.087 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001443/0.9237, allocations: 0.7403 MB / 1.088 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9237, allocations: 4.234 kB / 1.088 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001854/0.9255, allocations: 0.5574 MB / 1.089 GB, free: 82.01 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.005084/0.9306, allocations: 2.084 MB / 1.091 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003889/0.9346, allocations: 1.207 MB / 1.092 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.9346, allocations: 1.25 kB / 1.092 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.9357, allocations: 388.6 kB / 1.092 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.939, allocations: 0.5223 MB / 1.093 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.9578, allocations: 6.951 MB / 1.099 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.9585, allocations: 1.06 MB / 1.1 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001417/0.9599, allocations: 225.8 kB / 1.101 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.9604, allocations: 410.4 kB / 1.101 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of SimCode: time 2.044e-06/0.9605, allocations: 0 / 1.101 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05963/1.02, allocations: 33.9 MB / 1.134 GB, free: 51.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.02, allocations: 253.5 kB / 1.134 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/4.06, allocations: 4 kB / 1.134 GB, free: 51.04 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)