Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",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.005096/0.005096, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001264/0.001265, allocations: 198.5 kB / 16.68 MB, free: 5.926 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.778/0.778, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 73.14 kB / 0.595 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3934/0.522, allocations: 132.2 MB / 0.8043 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0279/0.5499, allocations: 23.25 MB / 0.827 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.5538, allocations: 123.1 kB / 0.8271 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.5573, allocations: 1.501 MB / 0.8285 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009744/0.567, allocations: 4.086 MB / 0.8325 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.5718, allocations: 2.181 MB / 0.8347 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007662/0.5795, allocations: 6.536 MB / 0.841 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.5824, allocations: 2.354 MB / 0.8433 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.5876, allocations: 2.801 MB / 0.8461 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.5902, allocations: 1.886 MB / 0.8479 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.5905, allocations: 244 kB / 0.8482 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.5942, allocations: 1.942 MB / 0.8501 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.5947, allocations: 0.5877 MB / 0.8506 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.5961, allocations: 1.454 MB / 0.852 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005238/0.6013, allocations: 4.592 MB / 0.8565 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6014, allocations: 11.94 kB / 0.8565 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6014, allocations: 0 / 0.8565 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.732e-05/0.6014, allocations: 0 / 0.8565 GB, free: 9.914 MB / 0.6231 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.005061/0.6065, allocations: 3.164 MB / 0.8596 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6065, allocations: 12.03 kB / 0.8596 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/0.6068, allocations: 220 kB / 0.8599 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/0.6108, allocations: 0.8438 MB / 0.8607 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.6149, allocations: 2.329 MB / 0.863 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.615, allocations: 123 kB / 0.8631 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.6152, allocations: 164 kB / 0.8632 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/0.6188, allocations: 1.919 MB / 0.8651 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.6188, allocations: 3.938 kB / 0.8651 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.619, allocations: 64 kB / 0.8652 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.619, allocations: 43.94 kB / 0.8652 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004279/0.6233, allocations: 1.784 MB / 0.8669 GB, free: 15.01 MB / 0.6387 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.01115/0.6345, allocations: 8.965 MB / 0.8757 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.6386, allocations: 1.19 MB / 0.8769 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.6397, allocations: 459.4 kB / 0.8773 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.6408, allocations: 1.737 MB / 0.879 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6409, allocations: 38.56 kB / 0.879 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.247e-06/0.6409, allocations: 0 / 0.879 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.008552/0.6495, allocations: 2.322 MB / 0.8813 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.6495, allocations: 89.11 kB / 0.8814 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.6532, allocations: 2.493 MB / 0.8838 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.6534, allocations: 45.7 kB / 0.8839 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/0.6542, allocations: 1.045 MB / 0.8849 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.6545, allocations: 268.2 kB / 0.8851 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.6549, allocations: 254.5 kB / 0.8854 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.655, allocations: 353.9 kB / 0.8857 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.6567, allocations: 0.5685 MB / 0.8863 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.6586, allocations: 0.9543 MB / 0.8872 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.6615, allocations: 1.256 MB / 0.8884 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.6615, allocations: 3.938 kB / 0.8884 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006214/0.6677, allocations: 2.02 MB / 0.8904 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6678, allocations: 8 kB / 0.8904 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6678, allocations: 11.94 kB / 0.8904 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.6693, allocations: 417.9 kB / 0.8908 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.6705, allocations: 283.5 kB / 0.8911 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.6726, allocations: 1.507 MB / 0.8926 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.675, allocations: 366 kB / 0.8929 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6752, allocations: 59.97 kB / 0.893 GB, free: 2.871 MB / 0.6544 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007656/0.6759, allocations: 466.2 kB / 0.8934 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.6763, allocations: 248.9 kB / 0.8937 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.6797, allocations: 1.496 MB / 0.8951 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.6798, allocations: 8 kB / 0.8951 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6798, allocations: 0 / 0.8951 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6798, allocations: 3.984 kB / 0.8951 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/0.6867, allocations: 3.602 MB / 0.8987 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6867, allocations: 4.312 kB / 0.8987 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.6873, allocations: 123.8 kB / 0.8988 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.6886, allocations: 425.2 kB / 0.8992 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.6887, allocations: 23.98 kB / 0.8992 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/0.6912, allocations: 1.572 MB / 0.9007 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6913, allocations: 4.188 kB / 0.9007 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/0.6971, allocations: 1.925 MB / 0.9026 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.6983, allocations: 493.6 kB / 0.9031 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/0.6987, allocations: 27.78 kB / 0.9031 GB, free: 8.203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.7004, allocations: 139.8 kB / 0.9033 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.7005, allocations: 55.88 kB / 0.9033 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.714e-05/0.7006, allocations: 51.89 kB / 0.9034 GB, free: 7.961 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003031/0.7037, allocations: 1.742 MB / 0.9051 GB, free: 6.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7037, allocations: 0 / 0.9051 GB, free: 6.215 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001922/0.7056, allocations: 0.6828 MB / 0.9057 GB, free: 5.531 MB / 0.67 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007296/0.7129, allocations: 3.024 MB / 0.9087 GB, free: 2.445 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004352/0.7173, allocations: 1.354 MB / 0.91 GB, free: 1.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7173, allocations: 0 / 0.91 GB, free: 1.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.7197, allocations: 0.6603 MB / 0.9106 GB, free: 440 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006039/0.7258, allocations: 1.338 MB / 0.912 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/0.7594, allocations: 16.66 MB / 0.9282 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7606, allocations: 1.49 MB / 0.9297 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001729/0.7624, allocations: 434.7 kB / 0.9301 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.7636, allocations: 0.9015 MB / 0.931 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.7636, allocations: 0 / 0.931 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.8657, allocations: 67.69 MB / 0.9971 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.52, allocations: 10.44 kB / 0.9971 GB, free: 8.188 MB / 0.7637 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)