Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.005325/0.005325, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001354/0.001354, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.7971/0.7971, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 60.52 kB / 0.595 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1383, allocations: 82.04 MB / 0.6751 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06134/0.1997, allocations: 70.45 MB / 0.7439 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3032/0.5029, allocations: 18.93 MB / 0.7624 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.5048, allocations: 69.97 kB / 0.7625 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.5065, allocations: 0.8242 MB / 0.7633 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006323/0.5128, allocations: 2.852 MB / 0.7661 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.5164, allocations: 1.664 MB / 0.7677 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005023/0.5214, allocations: 4.05 MB / 0.7717 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.5232, allocations: 1.454 MB / 0.7731 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.5267, allocations: 1.801 MB / 0.7749 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.528, allocations: 1.18 MB / 0.776 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.5282, allocations: 175.8 kB / 0.7762 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.5308, allocations: 1.413 MB / 0.7776 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.531, allocations: 385.6 kB / 0.7779 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.5317, allocations: 0.9176 MB / 0.7788 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.5349, allocations: 3.279 MB / 0.782 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5349, allocations: 5.344 kB / 0.782 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5349, allocations: 4 kB / 0.782 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.5349, allocations: 0 / 0.782 GB, free: 14.92 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003143/0.538, allocations: 2.03 MB / 0.784 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5381, allocations: 9.062 kB / 0.784 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.5383, allocations: 159.7 kB / 0.7842 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.5403, allocations: 442.2 kB / 0.7846 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.5426, allocations: 1.551 MB / 0.7861 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.5428, allocations: 83.38 kB / 0.7862 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5429, allocations: 106.1 kB / 0.7863 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.5451, allocations: 1.315 MB / 0.7876 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.5451, allocations: 5.25 kB / 0.7876 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.5452, allocations: 42.78 kB / 0.7876 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.5452, allocations: 29.75 kB / 0.7876 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.5478, allocations: 1.096 MB / 0.7887 GB, free: 11.23 MB / 0.5762 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.006388/0.5542, allocations: 7.512 MB / 0.7961 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.5571, allocations: 0.805 MB / 0.7968 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.5577, allocations: 288.4 kB / 0.7971 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/0.5585, allocations: 1.72 MB / 0.7988 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.5585, allocations: 38.28 kB / 0.7988 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.034e-06/0.5585, allocations: 0 / 0.7988 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004377/0.5629, allocations: 1.338 MB / 0.8001 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.563, allocations: 55.19 kB / 0.8002 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.5647, allocations: 1.546 MB / 0.8017 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.5647, allocations: 40.2 kB / 0.8017 GB, free: 464 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.5652, allocations: 0.6747 MB / 0.8024 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.5653, allocations: 171.7 kB / 0.8026 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.5655, allocations: 169.7 kB / 0.8027 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5657, allocations: 338.8 kB / 0.803 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000973/0.5666, allocations: 361 kB / 0.8034 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5677, allocations: 0.6621 MB / 0.804 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.5693, allocations: 0.888 MB / 0.8049 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5694, allocations: 2.562 kB / 0.8049 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002692/0.5721, allocations: 1.196 MB / 0.8061 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5721, allocations: 8.719 kB / 0.8061 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5721, allocations: 7.25 kB / 0.8061 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007742/0.5729, allocations: 224.5 kB / 0.8063 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.5736, allocations: 192.1 kB / 0.8065 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007491/0.5743, allocations: 0.7187 MB / 0.8072 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5757, allocations: 210.7 kB / 0.8074 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.5758, allocations: 45.27 kB / 0.8074 GB, free: 12.33 MB / 0.5919 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.5762, allocations: 358.5 kB / 0.8078 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.5766, allocations: 148.9 kB / 0.8079 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.5787, allocations: 1.145 MB / 0.809 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5788, allocations: 5.531 kB / 0.809 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5788, allocations: 4 kB / 0.809 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5788, allocations: 6.734 kB / 0.809 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.5836, allocations: 2.521 MB / 0.8115 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5836, allocations: 2.594 kB / 0.8115 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.5839, allocations: 87.61 kB / 0.8116 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000662/0.5846, allocations: 205.2 kB / 0.8118 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.5847, allocations: 17.45 kB / 0.8118 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.586, allocations: 0.7749 MB / 0.8126 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.586, allocations: 5.562 kB / 0.8126 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.5892, allocations: 1.206 MB / 0.8138 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.5897, allocations: 356.1 kB / 0.8141 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.5899, allocations: 17.16 kB / 0.8141 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.5907, allocations: 70.05 kB / 0.8142 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.5909, allocations: 45.28 kB / 0.8142 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.591, allocations: 24.08 kB / 0.8142 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001502/0.5925, allocations: 1.088 MB / 0.8153 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.062e-06/0.5925, allocations: 0 / 0.8153 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001261/0.5938, allocations: 447.1 kB / 0.8157 GB, free: 6.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004271/0.5981, allocations: 2.136 MB / 0.8178 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.6002, allocations: 0.853 MB / 0.8186 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6002, allocations: 4 kB / 0.8187 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.6015, allocations: 435.6 kB / 0.8191 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.6045, allocations: 0.7392 MB / 0.8198 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.6205, allocations: 10.44 MB / 0.83 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.6211, allocations: 1.172 MB / 0.8311 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008374/0.622, allocations: 265.5 kB / 0.8314 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/0.6228, allocations: 0.5461 MB / 0.8319 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.6228, allocations: 4 kB / 0.8319 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07486/0.6976, allocations: 44.87 MB / 0.8757 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.5, allocations: 11.97 kB / 0.8758 GB, free: 9.711 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)