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.000918/0.0009179, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008765/0.0008765, allocations: 168.7 kB / 15.95 MB, free: 204 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.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.633 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 1.792/1.792, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005628/0.0005628, allocations: 15.03 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2839, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05407/0.338, allocations: 56.52 MB / 0.8426 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.3537, allocations: 11.12 MB / 0.8535 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.3565, allocations: 51.62 kB / 0.8535 GB, free: 7.953 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.3585, allocations: 472.8 kB / 0.854 GB, free: 7.488 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.3642, allocations: 1.512 MB / 0.8554 GB, free: 5.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.3674, allocations: 0.88 MB / 0.8563 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.3725, allocations: 3.39 MB / 0.8596 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.3742, allocations: 0.778 MB / 0.8604 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.377, allocations: 1.046 MB / 0.8614 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.3786, allocations: 0.8166 MB / 0.8622 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3787, allocations: 44 kB / 0.8622 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.3815, allocations: 1.095 MB / 0.8633 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.3818, allocations: 203 kB / 0.8635 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.3823, allocations: 285 kB / 0.8638 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.3845, allocations: 1.641 MB / 0.8654 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3846, allocations: 4 kB / 0.8654 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3846, allocations: 0 / 0.8654 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.3846, allocations: 0 / 0.8654 GB, free: 11.75 MB / 0.6856 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.002846/0.3875, allocations: 1.512 MB / 0.8668 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.3875, allocations: 12.03 kB / 0.8668 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.3877, allocations: 118.7 kB / 0.867 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.3896, allocations: 473.9 kB / 0.8674 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3918, allocations: 1.098 MB / 0.8685 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.3921, allocations: 129.9 kB / 0.8686 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3922, allocations: 80 kB / 0.8687 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3943, allocations: 1.003 MB / 0.8697 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3943, allocations: 0 / 0.8697 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.3944, allocations: 32 kB / 0.8697 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3944, allocations: 20 kB / 0.8697 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.3966, allocations: 0.9173 MB / 0.8706 GB, free: 6.211 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.006789/0.4034, allocations: 4.603 MB / 0.8751 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.4065, allocations: 0.9383 MB / 0.876 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.4073, allocations: 340.8 kB / 0.8763 GB, free: 16 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.408, allocations: 0.9068 MB / 0.8772 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4081, allocations: 39 kB / 0.8773 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 3.036e-06/0.4081, allocations: 4 kB / 0.8773 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006695/0.4148, allocations: 1.99 MB / 0.8792 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.4149, allocations: 55.84 kB / 0.8793 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4165, allocations: 1.056 MB / 0.8803 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.4166, allocations: 37.7 kB / 0.8803 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.4171, allocations: 0.5236 MB / 0.8808 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.4172, allocations: 165.5 kB / 0.881 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.4173, allocations: 12 kB / 0.881 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4174, allocations: 334 kB / 0.8813 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008299/0.4182, allocations: 332.8 kB / 0.8817 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.4193, allocations: 0.5242 MB / 0.8822 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.4202, allocations: 368.5 kB / 0.8825 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4203, allocations: 4 kB / 0.8825 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003531/0.4238, allocations: 1.221 MB / 0.8837 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.424, allocations: 205.2 kB / 0.8839 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.424, allocations: 4 kB / 0.8839 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.4253, allocations: 339.3 kB / 0.8842 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.4259, allocations: 123.8 kB / 0.8844 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.4275, allocations: 0.9464 MB / 0.8853 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4289, allocations: 183.3 kB / 0.8855 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.429, allocations: 35.98 kB / 0.8855 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.429, allocations: 8 kB / 0.8855 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003008/0.432, allocations: 1.092 MB / 0.8866 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.432, allocations: 4 kB / 0.8866 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.4331, allocations: 325 kB / 0.8869 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.4336, allocations: 131.8 kB / 0.887 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.435, allocations: 0.9415 MB / 0.8879 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4363, allocations: 171.2 kB / 0.8881 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.4364, allocations: 31.98 kB / 0.8881 GB, free: 3.473 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.0006875/0.4371, allocations: 356.9 kB / 0.8885 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.4374, allocations: 114.6 kB / 0.8886 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.4401, allocations: 1.034 MB / 0.8896 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4401, allocations: 8 kB / 0.8896 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4401, allocations: 0 / 0.8896 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4402, allocations: 7.922 kB / 0.8896 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006258/0.4464, allocations: 2.477 MB / 0.892 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4465, allocations: 0 / 0.892 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.4468, allocations: 80.17 kB / 0.8921 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009908/0.4478, allocations: 320.5 kB / 0.8924 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.4479, allocations: 16 kB / 0.8924 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.4494, allocations: 0.9737 MB / 0.8934 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.4494, allocations: 7.938 kB / 0.8934 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.453, allocations: 1.29 MB / 0.8946 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008422/0.4539, allocations: 283.4 kB / 0.8949 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.4542, allocations: 15.95 kB / 0.8949 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4553, allocations: 103.9 kB / 0.895 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4554, allocations: 43.94 kB / 0.8951 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.4555, allocations: 23.98 kB / 0.8951 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001571/0.4571, allocations: 0.7313 MB / 0.8958 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4571, allocations: 0 / 0.8958 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002279/0.4594, allocations: 0.5652 MB / 0.8963 GB, free: 10.84 MB / 0.7169 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.00469/0.4641, allocations: 2.102 MB / 0.8984 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.4675, allocations: 1.202 MB / 0.8996 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.4675, allocations: 0 / 0.8996 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009166/0.4684, allocations: 395.3 kB / 0.8999 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.4715, allocations: 0.5199 MB / 0.9005 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/0.4897, allocations: 6.937 MB / 0.9072 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.4909, allocations: 1.066 MB / 0.9083 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001508/0.4924, allocations: 240.7 kB / 0.9085 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007502/0.4932, allocations: 415.3 kB / 0.9089 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of SimCode: time 3.146e-06/0.4932, allocations: 0 / 0.9089 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5214/1.015, allocations: 33.85 MB / 0.942 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.015, allocations: 247.2 kB / 0.9422 GB, free: 128 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.787, allocations: 0 / 0.9422 GB, free: 128 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: