Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_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.005094/0.005094, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001396/0.001396, allocations: 191.6 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002499/0.002499, allocations: 278.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003019, allocations: 107.7 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1709, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4406/0.6115, allocations: 132.2 MB / 0.895 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03539/0.647, allocations: 23.22 MB / 0.9177 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/0.6512, allocations: 119.3 kB / 0.9178 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.6555, allocations: 1.49 MB / 0.9193 GB, free: 6.227 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.6671, allocations: 4.101 MB / 0.9233 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005578/0.6727, allocations: 2.173 MB / 0.9254 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009938/0.6826, allocations: 6.546 MB / 0.9318 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00393/0.6866, allocations: 2.367 MB / 0.9341 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007634/0.6942, allocations: 2.757 MB / 0.9368 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/0.6981, allocations: 1.889 MB / 0.9386 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007553/0.6989, allocations: 248 kB / 0.9389 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004801/0.7037, allocations: 1.938 MB / 0.9408 GB, free: 140 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.7047, allocations: 0.5992 MB / 0.9413 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.7073, allocations: 1.466 MB / 0.9428 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007933/0.7152, allocations: 4.408 MB / 0.9471 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7153, allocations: 0 / 0.9471 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7153, allocations: 0 / 0.9471 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001052/0.7154, allocations: 0 / 0.9471 GB, free: 9.645 MB / 0.7012 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.006913/0.7223, allocations: 3.274 MB / 0.9503 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7223, allocations: 8.031 kB / 0.9503 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.7226, allocations: 224 kB / 0.9505 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/0.7272, allocations: 0.8535 MB / 0.9513 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/0.7319, allocations: 2.34 MB / 0.9536 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.732, allocations: 127 kB / 0.9537 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.7323, allocations: 164 kB / 0.9539 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.7364, allocations: 1.923 MB / 0.9558 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.7364, allocations: 7.922 kB / 0.9558 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.7366, allocations: 64 kB / 0.9558 GB, free: 440 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.7366, allocations: 39.98 kB / 0.9559 GB, free: 400 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004674/0.7413, allocations: 1.803 MB / 0.9576 GB, free: 14.58 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.01327/0.7546, allocations: 9.007 MB / 0.9664 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/0.7589, allocations: 1.201 MB / 0.9676 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.76, allocations: 466 kB / 0.9681 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.7614, allocations: 1.726 MB / 0.9697 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7614, allocations: 42.5 kB / 0.9698 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 1.984e-06/0.7615, allocations: 0 / 0.9698 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008594/0.7701, allocations: 2.345 MB / 0.9721 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.7701, allocations: 85.11 kB / 0.9722 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.7743, allocations: 2.524 MB / 0.9746 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.7744, allocations: 45.7 kB / 0.9747 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.7754, allocations: 1.055 MB / 0.9757 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.7757, allocations: 289.5 kB / 0.976 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.7762, allocations: 254.8 kB / 0.9762 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.7764, allocations: 345.9 kB / 0.9765 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.7781, allocations: 0.5725 MB / 0.9771 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.7802, allocations: 0.9543 MB / 0.978 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.7833, allocations: 1.244 MB / 0.9793 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7833, allocations: 4 kB / 0.9793 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006533/0.7898, allocations: 2.033 MB / 0.9812 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.7899, allocations: 8 kB / 0.9812 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.7899, allocations: 8 kB / 0.9813 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.7917, allocations: 499.8 kB / 0.9817 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.793, allocations: 275.6 kB / 0.982 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.7953, allocations: 1.53 MB / 0.9835 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.7981, allocations: 370.5 kB / 0.9838 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.7982, allocations: 55.97 kB / 0.9839 GB, free: 2.234 MB / 0.7325 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.0008793/0.7991, allocations: 468.8 kB / 0.9843 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.7996, allocations: 266.3 kB / 0.9846 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.8034, allocations: 1.503 MB / 0.9861 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.8034, allocations: 8 kB / 0.9861 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8034, allocations: 0 / 0.9861 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8034, allocations: 3.984 kB / 0.9861 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/0.8112, allocations: 3.624 MB / 0.9896 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.8112, allocations: 0 / 0.9896 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.8118, allocations: 136.1 kB / 0.9897 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.8135, allocations: 495.3 kB / 0.9902 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.8136, allocations: 27.98 kB / 0.9902 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.8163, allocations: 1.585 MB / 0.9918 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8163, allocations: 8.016 kB / 0.9918 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/0.8226, allocations: 1.949 MB / 0.9937 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.8236, allocations: 0.4951 MB / 0.9942 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.8239, allocations: 19.94 kB / 0.9942 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.8257, allocations: 139.8 kB / 0.9943 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.8258, allocations: 51.92 kB / 0.9944 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/0.8259, allocations: 43.97 kB / 0.9944 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003238/0.8291, allocations: 1.769 MB / 0.9962 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.244e-06/0.8291, allocations: 0 / 0.9962 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00226/0.8314, allocations: 0.7018 MB / 0.9968 GB, free: 4.703 MB / 0.7481 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.007462/0.8389, allocations: 3.023 MB / 0.9998 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004143/0.843, allocations: 1.349 MB / 1.001 GB, free: 280 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.843, allocations: 0 / 1.001 GB, free: 280 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.8455, allocations: 0.6753 MB / 1.002 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/0.8513, allocations: 1.327 MB / 1.003 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/0.8855, allocations: 16.73 MB / 1.019 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.8868, allocations: 1.49 MB / 1.021 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001841/0.8886, allocations: 439.4 kB / 1.021 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.8901, allocations: 0.9054 MB / 1.022 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 1.112e-06/0.8902, allocations: 0 / 1.022 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.013, allocations: 66.28 MB / 1.087 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/18.51, allocations: 6.797 kB / 1.087 GB, free: 8.828 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)