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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 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.001218/0.001218, allocations: 195.7 kB / 16.53 MB, free: 6.699 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.295/1.295, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001527/0.001528, allocations: 68.44 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1995, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4997/0.6993, allocations: 132.3 MB / 0.9126 GB, free: 44.88 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0245/0.7238, allocations: 23.03 MB / 0.9351 GB, free: 44.53 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.7277, allocations: 121.5 kB / 0.9352 GB, free: 44.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003558/0.7313, allocations: 1.491 MB / 0.9367 GB, free: 44.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.7429, allocations: 4.06 MB / 0.9406 GB, free: 44.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/0.7487, allocations: 2.176 MB / 0.9428 GB, free: 44.3 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.7587, allocations: 6.502 MB / 0.9491 GB, free: 42.33 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/0.763, allocations: 2.365 MB / 0.9514 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007221/0.7703, allocations: 2.757 MB / 0.9541 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/0.7739, allocations: 1.874 MB / 0.956 GB, free: 39.28 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000595/0.7745, allocations: 254.2 kB / 0.9562 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/0.7795, allocations: 1.937 MB / 0.9581 GB, free: 38.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.7801, allocations: 0.5981 MB / 0.9587 GB, free: 38.28 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.7822, allocations: 1.469 MB / 0.9601 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007013/0.7892, allocations: 4.351 MB / 0.9644 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7893, allocations: 0 / 0.9644 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7893, allocations: 2.625 kB / 0.9644 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.968e-05/0.7893, allocations: 0 / 0.9644 GB, free: 35.88 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.005669/0.795, allocations: 3.188 MB / 0.9675 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7951, allocations: 12.75 kB / 0.9675 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.7953, allocations: 219.4 kB / 0.9677 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.7996, allocations: 0.8485 MB / 0.9685 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.8034, allocations: 2.205 MB / 0.9707 GB, free: 31.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009424/0.8043, allocations: 292.3 kB / 0.971 GB, free: 31.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.8046, allocations: 163.1 kB / 0.9711 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/0.8082, allocations: 1.937 MB / 0.973 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.8082, allocations: 3.938 kB / 0.973 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.8084, allocations: 62.5 kB / 0.9731 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.8084, allocations: 40.91 kB / 0.9731 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.8129, allocations: 1.827 MB / 0.9749 GB, free: 29.19 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.01097/0.8238, allocations: 9.103 MB / 0.9838 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.828, allocations: 1.196 MB / 0.9849 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.829, allocations: 458.1 kB / 0.9854 GB, free: 20.58 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.8298, allocations: 1.722 MB / 0.9871 GB, free: 18.56 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.8298, allocations: 41.41 kB / 0.9871 GB, free: 18.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.8298, allocations: 2.5 kB / 0.9871 GB, free: 18.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008682/0.8385, allocations: 2.341 MB / 0.9894 GB, free: 17.24 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.8385, allocations: 85.05 kB / 0.9895 GB, free: 17.15 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.8421, allocations: 2.544 MB / 0.992 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.8423, allocations: 46.11 kB / 0.992 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.8429, allocations: 1.045 MB / 0.993 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.8432, allocations: 271.2 kB / 0.9933 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.8435, allocations: 256.3 kB / 0.9935 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.8436, allocations: 347.1 kB / 0.9939 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.8453, allocations: 0.5917 MB / 0.9944 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.8472, allocations: 0.9835 MB / 0.9954 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.8501, allocations: 1.25 MB / 0.9966 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.8501, allocations: 6.672 kB / 0.9966 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006461/0.8565, allocations: 2.049 MB / 0.9986 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.8566, allocations: 8 kB / 0.9986 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8566, allocations: 8 kB / 0.9986 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.8583, allocations: 0.4938 MB / 0.9991 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.8595, allocations: 283.6 kB / 0.9994 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.8614, allocations: 1.525 MB / 1.001 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/0.8644, allocations: 397.9 kB / 1.001 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.8646, allocations: 55.97 kB / 1.001 GB, free: 7.422 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.00072/0.8653, allocations: 470 kB / 1.002 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.8657, allocations: 256.8 kB / 1.002 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.869, allocations: 1.49 MB / 1.003 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.869, allocations: 15.98 kB / 1.003 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.8691, allocations: 3.938 kB / 1.003 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.8691, allocations: 3.984 kB / 1.003 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/0.8757, allocations: 3.633 MB / 1.007 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.8757, allocations: 4 kB / 1.007 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.8763, allocations: 128.2 kB / 1.007 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.8778, allocations: 489.1 kB / 1.008 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.8778, allocations: 27.97 kB / 1.008 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.8803, allocations: 1.584 MB / 1.009 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.8804, allocations: 0 / 1.009 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006285/0.8867, allocations: 1.935 MB / 1.011 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.8877, allocations: 497.5 kB / 1.012 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.888, allocations: 20 kB / 1.012 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.8898, allocations: 148 kB / 1.012 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8899, allocations: 55.81 kB / 1.012 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.386e-05/0.8901, allocations: 47.89 kB / 1.012 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002977/0.893, allocations: 1.793 MB / 1.014 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.893, allocations: 0 / 1.014 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002203/0.8953, allocations: 0.6905 MB / 1.014 GB, free: 9.938 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.007409/0.9027, allocations: 2.996 MB / 1.017 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004445/0.9071, allocations: 1.404 MB / 1.019 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.9072, allocations: 0 / 1.019 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.9096, allocations: 0.6725 MB / 1.019 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00672/0.9164, allocations: 1.357 MB / 1.021 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.9521, allocations: 19.25 MB / 1.039 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.9532, allocations: 1.486 MB / 1.041 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002322/0.9556, allocations: 435.7 kB / 1.041 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.9568, allocations: 0.9092 MB / 1.042 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/0.9568, allocations: 0 / 1.042 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.066, allocations: 68.98 MB / 1.109 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.31, allocations: 16.02 kB / 1.109 GB, free: 7.93 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)