Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001176/0.001176, 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.001137/0.001137, allocations: 197 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9942/0.9942, allocations: 143 MB / 433.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.91 kB / 0.5143 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1739, allocations: 82.04 MB / 0.5944 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4071/0.5811, allocations: 132.2 MB / 0.7235 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03592/0.617, allocations: 23.25 MB / 0.7462 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005712/0.6228, allocations: 125.3 kB / 0.7463 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004597/0.6274, allocations: 1.495 MB / 0.7478 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.6398, allocations: 4.1 MB / 0.7518 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005899/0.6457, allocations: 2.144 MB / 0.7539 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009009/0.6547, allocations: 6.532 MB / 0.7603 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00413/0.6589, allocations: 2.355 MB / 0.7626 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007281/0.6662, allocations: 2.75 MB / 0.7653 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.6701, allocations: 1.882 MB / 0.7671 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008704/0.671, allocations: 248 kB / 0.7673 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006353/0.6774, allocations: 1.93 MB / 0.7692 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.679, allocations: 0.5992 MB / 0.7698 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.6825, allocations: 1.469 MB / 0.7712 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.6909, allocations: 4.541 MB / 0.7757 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.691, allocations: 0 / 0.7757 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.691, allocations: 3.938 kB / 0.7757 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001279/0.6911, allocations: 0 / 0.7757 GB, free: 3.777 MB / 0.5919 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.007315/0.6984, allocations: 3.185 MB / 0.7788 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6985, allocations: 12.03 kB / 0.7788 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002536/0.6988, allocations: 227.9 kB / 0.779 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.7032, allocations: 0.8363 MB / 0.7798 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.7076, allocations: 2.214 MB / 0.782 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009809/0.7086, allocations: 294.8 kB / 0.7823 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.7089, allocations: 156 kB / 0.7824 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/0.7129, allocations: 1.946 MB / 0.7843 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.7129, allocations: 0 / 0.7843 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.7131, allocations: 64 kB / 0.7844 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.7131, allocations: 40 kB / 0.7844 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005188/0.7183, allocations: 1.831 MB / 0.7862 GB, free: 8.746 MB / 0.6075 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.01611/0.7344, allocations: 9.106 MB / 0.7951 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/0.7389, allocations: 1.193 MB / 0.7963 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.7401, allocations: 458.3 kB / 0.7967 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.7415, allocations: 1.726 MB / 0.7984 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.7416, allocations: 46.5 kB / 0.7984 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.916e-06/0.7416, allocations: 0 / 0.7984 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008876/0.7504, allocations: 2.339 MB / 0.8007 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.7505, allocations: 85.11 kB / 0.8008 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/0.755, allocations: 2.551 MB / 0.8033 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.7551, allocations: 41.7 kB / 0.8033 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008888/0.756, allocations: 1.042 MB / 0.8043 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.7564, allocations: 272.2 kB / 0.8046 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.7568, allocations: 254.6 kB / 0.8048 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.757, allocations: 349.9 kB / 0.8052 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.7589, allocations: 0.5842 MB / 0.8058 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.7612, allocations: 0.966 MB / 0.8067 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.7645, allocations: 1.258 MB / 0.8079 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.7645, allocations: 8 kB / 0.8079 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007012/0.7715, allocations: 2.048 MB / 0.8099 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.7716, allocations: 9.719 kB / 0.8099 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.7716, allocations: 12.03 kB / 0.81 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.7734, allocations: 499 kB / 0.8104 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.7747, allocations: 283.6 kB / 0.8107 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.777, allocations: 1.523 MB / 0.8122 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.7801, allocations: 401.1 kB / 0.8126 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.7804, allocations: 59.97 kB / 0.8126 GB, free: 12.23 MB / 0.6387 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.001017/0.7814, allocations: 457.5 kB / 0.8131 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/0.7822, allocations: 252.8 kB / 0.8133 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.7863, allocations: 1.503 MB / 0.8148 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.7863, allocations: 15.92 kB / 0.8148 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7863, allocations: 0 / 0.8148 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7864, allocations: 3.984 kB / 0.8148 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008662/0.795, allocations: 3.637 MB / 0.8183 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.7951, allocations: 4.094 kB / 0.8183 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.7957, allocations: 132.1 kB / 0.8185 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.7975, allocations: 485.1 kB / 0.8189 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.175e-05/0.7976, allocations: 23.98 kB / 0.819 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.8003, allocations: 1.586 MB / 0.8205 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8003, allocations: 4.031 kB / 0.8205 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006413/0.8067, allocations: 1.938 MB / 0.8224 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.808, allocations: 497.6 kB / 0.8229 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006206/0.8086, allocations: 16 kB / 0.8229 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.8107, allocations: 147.8 kB / 0.823 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.8108, allocations: 59.81 kB / 0.8231 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.8109, allocations: 43.95 kB / 0.8231 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003689/0.8146, allocations: 1.789 MB / 0.8249 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8146, allocations: 0 / 0.8249 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002447/0.8171, allocations: 0.6905 MB / 0.8256 GB, free: 14.71 MB / 0.6544 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.007682/0.8248, allocations: 3.034 MB / 0.8285 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004335/0.8291, allocations: 1.397 MB / 0.8299 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8292, allocations: 0 / 0.8299 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.8315, allocations: 0.6825 MB / 0.8305 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006547/0.8381, allocations: 1.339 MB / 0.8319 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.8781, allocations: 19.21 MB / 0.8506 GB, free: 3.539 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.8797, allocations: 1.49 MB / 0.8521 GB, free: 2.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002377/0.8821, allocations: 451.3 kB / 0.8525 GB, free: 1.586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.8834, allocations: 0.8976 MB / 0.8534 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.8834, allocations: 0 / 0.8534 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4116/1.295, allocations: 69.03 MB / 0.9208 GB, free: 187.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.9, allocations: 15.5 kB / 0.9208 GB, free: 187.6 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)