Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001143/0.001143, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 196.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001958/0.001959, allocations: 65.59 kB / 0.6718 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2473, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6036/0.8509, allocations: 132.3 MB / 0.9128 GB, free: 44.89 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02931/0.8803, allocations: 23.03 MB / 0.9353 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004937/0.8853, allocations: 122.3 kB / 0.9354 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004606/0.8899, allocations: 1.494 MB / 0.9369 GB, free: 44.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.9023, allocations: 4.063 MB / 0.9408 GB, free: 44.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007003/0.9094, allocations: 2.194 MB / 0.943 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.9229, allocations: 6.502 MB / 0.9493 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004986/0.9279, allocations: 2.366 MB / 0.9516 GB, free: 41.2 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007501/0.9355, allocations: 2.77 MB / 0.9543 GB, free: 39.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.9399, allocations: 1.894 MB / 0.9562 GB, free: 39.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008906/0.9408, allocations: 248.8 kB / 0.9564 GB, free: 39.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00536/0.9462, allocations: 1.933 MB / 0.9583 GB, free: 38.63 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008164/0.947, allocations: 0.6076 MB / 0.9589 GB, free: 38.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00267/0.9497, allocations: 1.458 MB / 0.9603 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007371/0.9571, allocations: 4.393 MB / 0.9646 GB, free: 35.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9571, allocations: 0 / 0.9646 GB, free: 35.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9571, allocations: 0 / 0.9646 GB, free: 35.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.422e-05/0.9572, allocations: 0 / 0.9646 GB, free: 35.82 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005772/0.963, allocations: 3.191 MB / 0.9677 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.963, allocations: 9 kB / 0.9677 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/0.9633, allocations: 227.9 kB / 0.968 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.9674, allocations: 0.8352 MB / 0.9688 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.9716, allocations: 2.33 MB / 0.971 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.9717, allocations: 125.8 kB / 0.9712 GB, free: 31.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.972, allocations: 161.2 kB / 0.9713 GB, free: 31.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.9757, allocations: 1.925 MB / 0.9732 GB, free: 29.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.9757, allocations: 0 / 0.9732 GB, free: 29.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.9759, allocations: 61.97 kB / 0.9733 GB, free: 29.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.9759, allocations: 42.53 kB / 0.9733 GB, free: 29.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/0.9803, allocations: 1.804 MB / 0.9751 GB, free: 29.04 MB / 0.7169 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.01321/0.9935, allocations: 8.991 MB / 0.9838 GB, free: 21.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.9976, allocations: 1.195 MB / 0.985 GB, free: 20.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.9987, allocations: 465.8 kB / 0.9855 GB, free: 20.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008147/0.9995, allocations: 1.727 MB / 0.9871 GB, free: 18.45 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.9995, allocations: 41.06 kB / 0.9872 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.9996, allocations: 0 / 0.9872 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008607/1.008, allocations: 2.344 MB / 0.9895 GB, free: 17.13 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.008, allocations: 89.08 kB / 0.9896 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/1.013, allocations: 2.521 MB / 0.992 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/1.013, allocations: 43.08 kB / 0.9921 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/1.014, allocations: 1.052 MB / 0.9931 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.015, allocations: 268.9 kB / 0.9933 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/1.015, allocations: 257.3 kB / 0.9936 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/1.015, allocations: 346.4 kB / 0.9939 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.017, allocations: 0.5742 MB / 0.9945 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/1.019, allocations: 0.9654 MB / 0.9954 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/1.022, allocations: 1.243 MB / 0.9966 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/1.022, allocations: 3.938 kB / 0.9966 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006408/1.028, allocations: 2.023 MB / 0.9986 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.028, allocations: 15.94 kB / 0.9986 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.028, allocations: 8 kB / 0.9986 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/1.03, allocations: 492.7 kB / 0.9991 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.031, allocations: 279.6 kB / 0.9994 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/1.033, allocations: 1.526 MB / 1.001 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/1.037, allocations: 366 kB / 1.001 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/1.037, allocations: 59.95 kB / 1.001 GB, free: 7.621 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001351/1.038, allocations: 470 kB / 1.002 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008664/1.039, allocations: 252.8 kB / 1.002 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/1.043, allocations: 1.49 MB / 1.003 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/1.043, allocations: 12 kB / 1.003 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.043, allocations: 3.984 kB / 1.003 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.043, allocations: 3.984 kB / 1.003 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008431/1.052, allocations: 3.625 MB / 1.007 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.052, allocations: 7.938 kB / 1.007 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/1.052, allocations: 128.2 kB / 1.007 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/1.054, allocations: 496.1 kB / 1.008 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/1.054, allocations: 23.98 kB / 1.008 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/1.056, allocations: 1.585 MB / 1.009 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.056, allocations: 4.094 kB / 1.009 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006398/1.063, allocations: 1.943 MB / 1.011 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.064, allocations: 485.6 kB / 1.012 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007619/1.065, allocations: 27.92 kB / 1.012 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.067, allocations: 139.8 kB / 1.012 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.067, allocations: 55.92 kB / 1.012 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.067, allocations: 43.91 kB / 1.012 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004011/1.071, allocations: 1.769 MB / 1.013 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.485e-06/1.071, allocations: 4 kB / 1.013 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003287/1.075, allocations: 0.6982 MB / 1.014 GB, free: 10.16 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008256/1.083, allocations: 2.991 MB / 1.017 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004636/1.088, allocations: 1.354 MB / 1.018 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.088, allocations: 0 / 1.018 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/1.09, allocations: 0.6725 MB / 1.019 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007655/1.098, allocations: 1.352 MB / 1.02 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04029/1.138, allocations: 16.67 MB / 1.037 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.14, allocations: 1.49 MB / 1.038 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002353/1.142, allocations: 443.5 kB / 1.039 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.144, allocations: 0.9055 MB / 1.039 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of SimCode: time 1.463e-06/1.144, allocations: 0 / 1.039 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.253, allocations: 66.19 MB / 1.104 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/17.19, allocations: 11.03 kB / 1.104 GB, free: 14.6 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)