Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_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.0015/0.0015, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001889/0.001889, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.036/2.036, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.000553, allocations: 18 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2584, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06629/0.3248, allocations: 51.32 MB / 0.8373 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.3434, allocations: 10.22 MB / 0.8473 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.346, allocations: 51.56 kB / 0.8474 GB, free: 14.15 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003/0.349, allocations: 0.6219 MB / 0.848 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007144/0.3562, allocations: 1.897 MB / 0.8498 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.3604, allocations: 1.326 MB / 0.8511 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004292/0.3647, allocations: 1.847 MB / 0.8529 GB, free: 8.473 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.3665, allocations: 0.8016 MB / 0.8537 GB, free: 7.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.3692, allocations: 0.9847 MB / 0.8547 GB, free: 6.656 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.3706, allocations: 0.6144 MB / 0.8553 GB, free: 6.039 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.3709, allocations: 44 kB / 0.8553 GB, free: 5.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.3736, allocations: 0.9946 MB / 0.8563 GB, free: 5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.374, allocations: 203.1 kB / 0.8565 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.3746, allocations: 281 kB / 0.8567 GB, free: 4.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.3774, allocations: 1.59 MB / 0.8583 GB, free: 2.926 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3774, allocations: 0 / 0.8583 GB, free: 2.926 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3774, allocations: 0 / 0.8583 GB, free: 2.926 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.113e-05/0.3774, allocations: 0 / 0.8583 GB, free: 2.926 MB / 0.67 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.003419/0.3809, allocations: 1.493 MB / 0.8598 GB, free: 1.375 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3809, allocations: 12.02 kB / 0.8598 GB, free: 1.363 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/0.3812, allocations: 126.6 kB / 0.8599 GB, free: 1.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.3834, allocations: 473.9 kB / 0.8603 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.3858, allocations: 1.055 MB / 0.8614 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.3862, allocations: 141.8 kB / 0.8615 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.3864, allocations: 80 kB / 0.8616 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.3885, allocations: 0.9878 MB / 0.8625 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3885, allocations: 3.938 kB / 0.8625 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.3886, allocations: 32 kB / 0.8626 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3886, allocations: 20 kB / 0.8626 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.391, allocations: 0.9173 MB / 0.8635 GB, free: 13.44 MB / 0.6856 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.007029/0.398, allocations: 4.64 MB / 0.868 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/0.4017, allocations: 0.9384 MB / 0.8689 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/0.4025, allocations: 0.9068 MB / 0.8698 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4026, allocations: 39 kB / 0.8699 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.4026, allocations: 0 / 0.8699 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007555/0.4101, allocations: 1.995 MB / 0.8718 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.4102, allocations: 55.84 kB / 0.8719 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.412, allocations: 1.071 MB / 0.8729 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.4121, allocations: 33.7 kB / 0.8729 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.4126, allocations: 0.5275 MB / 0.8735 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4128, allocations: 165.6 kB / 0.8736 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.4129, allocations: 11.94 kB / 0.8736 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.413, allocations: 330 kB / 0.8739 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008952/0.4139, allocations: 332.9 kB / 0.8743 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.415, allocations: 0.5203 MB / 0.8748 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.4159, allocations: 372.5 kB / 0.8751 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.416, allocations: 0 / 0.8751 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003879/0.4198, allocations: 1.221 MB / 0.8763 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007743/0.4206, allocations: 1.506 MB / 0.8778 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4207, allocations: 4 kB / 0.8778 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.4219, allocations: 332.5 kB / 0.8781 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.4225, allocations: 131.8 kB / 0.8782 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.4241, allocations: 0.945 MB / 0.8792 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.4256, allocations: 191.2 kB / 0.8793 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.4257, allocations: 31.98 kB / 0.8794 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4258, allocations: 10.59 kB / 0.8794 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003407/0.4292, allocations: 1.092 MB / 0.8804 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4292, allocations: 4 kB / 0.8805 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.4303, allocations: 321 kB / 0.8808 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.4309, allocations: 135.7 kB / 0.8809 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.4325, allocations: 0.9347 MB / 0.8818 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4338, allocations: 175.3 kB / 0.882 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.4339, allocations: 27.98 kB / 0.882 GB, free: 9.633 MB / 0.7012 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.0005868/0.4345, allocations: 353 kB / 0.8823 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.4348, allocations: 114.6 kB / 0.8824 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.4375, allocations: 1.042 MB / 0.8835 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.4376, allocations: 4 kB / 0.8835 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4376, allocations: 7.953 kB / 0.8835 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.4376, allocations: 3.984 kB / 0.8835 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006835/0.4445, allocations: 2.473 MB / 0.8859 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4445, allocations: 4 kB / 0.8859 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.4448, allocations: 76.16 kB / 0.886 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.4459, allocations: 336.4 kB / 0.8863 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.446, allocations: 8 kB / 0.8863 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.4475, allocations: 0.9699 MB / 0.8872 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.4475, allocations: 7.969 kB / 0.8872 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/0.4515, allocations: 1.408 MB / 0.8886 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/0.4522, allocations: 291.4 kB / 0.8889 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.4525, allocations: 12 kB / 0.8889 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4536, allocations: 111.8 kB / 0.889 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4537, allocations: 43.89 kB / 0.8891 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.4538, allocations: 23.98 kB / 0.8891 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001575/0.4554, allocations: 0.7547 MB / 0.8898 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4554, allocations: 0 / 0.8898 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001787/0.4572, allocations: 0.5575 MB / 0.8904 GB, free: 0.8047 MB / 0.7012 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.005553/0.4627, allocations: 2.839 MB / 0.8931 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.4662, allocations: 1.202 MB / 0.8943 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.4663, allocations: 0 / 0.8943 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4673, allocations: 399.1 kB / 0.8947 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.47, allocations: 0.5056 MB / 0.8952 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.478, allocations: 5.797 MB / 0.9008 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.4787, allocations: 1.089 MB / 0.9019 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001077/0.4798, allocations: 236.8 kB / 0.9021 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.4804, allocations: 415.3 kB / 0.9025 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.4804, allocations: 0 / 0.9025 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4635/0.9439, allocations: 33.55 MB / 0.9353 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.9442, allocations: 242.5 kB / 0.9355 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.539, allocations: 4 kB / 0.9355 GB, free: 126.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: