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.005234/0.005234, allocations: 106.5 kB / 15.74 MB, free: 5.582 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.001078/0.001078, allocations: 197.2 kB / 16.67 MB, free: 5.508 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 296.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 87.86 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.441, allocations: 86.97 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1329/0.5739, allocations: 132.2 MB / 0.895 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03279/0.6068, allocations: 23.22 MB / 0.9177 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004762/0.6116, allocations: 123.3 kB / 0.9178 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.6161, allocations: 1.49 MB / 0.9193 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.6296, allocations: 4.108 MB / 0.9233 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005957/0.6356, allocations: 2.171 MB / 0.9254 GB, free: 16 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009669/0.6453, allocations: 6.548 MB / 0.9318 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004216/0.6495, allocations: 2.351 MB / 0.9341 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/0.6577, allocations: 2.759 MB / 0.9368 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/0.6618, allocations: 1.892 MB / 0.9386 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.6629, allocations: 248 kB / 0.9389 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/0.6687, allocations: 1.938 MB / 0.9408 GB, free: 176 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.6704, allocations: 0.5955 MB / 0.9413 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004329/0.6748, allocations: 1.462 MB / 0.9428 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008766/0.6836, allocations: 4.385 MB / 0.9471 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6836, allocations: 0 / 0.9471 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6836, allocations: 0 / 0.9471 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001534/0.6838, allocations: 0 / 0.9471 GB, free: 9.711 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.008748/0.6925, allocations: 3.191 MB / 0.9502 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.6926, allocations: 8.031 kB / 0.9502 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006322/0.6932, allocations: 220 kB / 0.9504 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/0.6983, allocations: 0.8439 MB / 0.9512 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00644/0.7048, allocations: 2.306 MB / 0.9535 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.7051, allocations: 135 kB / 0.9536 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005845/0.7056, allocations: 156 kB / 0.9537 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/0.7109, allocations: 1.926 MB / 0.9556 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.7109, allocations: 4 kB / 0.9556 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.7112, allocations: 60 kB / 0.9557 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.7112, allocations: 40 kB / 0.9557 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3992/1.11, allocations: 1.797 MB / 0.9575 GB, free: 184 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.01338/1.124, allocations: 9.004 MB / 0.9663 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/1.128, allocations: 1.193 MB / 0.9674 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.129, allocations: 459.9 kB / 0.9679 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/1.13, allocations: 1.724 MB / 0.9696 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/1.13, allocations: 46.94 kB / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/1.13, allocations: 0 / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.0083/1.138, allocations: 2.338 MB / 0.9719 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.138, allocations: 89.05 kB / 0.972 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/1.142, allocations: 2.525 MB / 0.9744 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.142, allocations: 47.83 kB / 0.9745 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007141/1.143, allocations: 1.037 MB / 0.9755 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.143, allocations: 275.3 kB / 0.9758 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/1.143, allocations: 250.9 kB / 0.976 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/1.144, allocations: 345.8 kB / 0.9763 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.145, allocations: 0.5739 MB / 0.9769 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/1.147, allocations: 0.9552 MB / 0.9778 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/1.15, allocations: 1.25 MB / 0.979 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/1.15, allocations: 3.969 kB / 0.979 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005888/1.156, allocations: 2.021 MB / 0.981 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.156, allocations: 12.14 kB / 0.981 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.156, allocations: 6.875 kB / 0.981 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/1.157, allocations: 496.7 kB / 0.9815 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.158, allocations: 277.6 kB / 0.9818 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/1.16, allocations: 1.52 MB / 0.9833 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.163, allocations: 366 kB / 0.9836 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.163, allocations: 63.97 kB / 0.9837 GB, free: 166.7 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.0008171/1.164, allocations: 461.5 kB / 0.9841 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/1.164, allocations: 248.9 kB / 0.9843 GB, free: 166 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/1.167, allocations: 1.502 MB / 0.9858 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/1.167, allocations: 8 kB / 0.9858 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.168, allocations: 0 / 0.9858 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.168, allocations: 11.92 kB / 0.9858 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006648/1.174, allocations: 3.615 MB / 0.9894 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.174, allocations: 4 kB / 0.9894 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/1.175, allocations: 128.2 kB / 0.9895 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/1.176, allocations: 489.8 kB / 0.99 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/1.176, allocations: 27.98 kB / 0.99 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/1.179, allocations: 1.592 MB / 0.9915 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.179, allocations: 4 kB / 0.9915 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/1.184, allocations: 1.943 MB / 0.9934 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.185, allocations: 497.5 kB / 0.9939 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/1.185, allocations: 16 kB / 0.9939 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.187, allocations: 139.8 kB / 0.9941 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/1.187, allocations: 59.81 kB / 0.9941 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/1.187, allocations: 39.95 kB / 0.9942 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002408/1.19, allocations: 1.775 MB / 0.9959 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.19, allocations: 0 / 0.9959 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001688/1.191, allocations: 0.6969 MB / 0.9966 GB, free: 153.2 MB / 0.7169 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.006713/1.198, allocations: 3.001 MB / 0.9995 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004184/1.202, allocations: 1.342 MB / 1.001 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.202, allocations: 0 / 1.001 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/1.205, allocations: 0.6728 MB / 1.001 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/1.211, allocations: 1.334 MB / 1.003 GB, free: 147 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/1.241, allocations: 16.66 MB / 1.019 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/1.242, allocations: 1.49 MB / 1.02 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001811/1.244, allocations: 435.6 kB / 1.021 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009763/1.245, allocations: 0.9054 MB / 1.022 GB, free: 127 MB / 0.7169 GB Notification: Performance of SimCode: time 1.172e-06/1.245, allocations: 0 / 1.022 GB, free: 127 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09082/1.336, allocations: 65.79 MB / 1.086 GB, free: 62.26 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/17.16, allocations: 17.83 kB / 1.086 GB, free: 62.24 MB / 0.7169 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)