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.005315/0.005315, allocations: 102 kB / 15.73 MB, free: 6.039 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.001213/0.001213, allocations: 194 kB / 16.67 MB, free: 5.961 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8351/0.8351, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.53 kB / 0.595 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1707, allocations: 82.03 MB / 0.6751 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07798/0.2487, allocations: 70.46 MB / 0.7439 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4123/0.661, allocations: 18.93 MB / 0.7624 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003908/0.665, allocations: 68.16 kB / 0.7625 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.6675, allocations: 0.8277 MB / 0.7633 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00821/0.6757, allocations: 2.849 MB / 0.7661 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.68, allocations: 1.663 MB / 0.7677 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006408/0.6864, allocations: 4.045 MB / 0.7717 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.6887, allocations: 1.451 MB / 0.7731 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.6933, allocations: 1.778 MB / 0.7748 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.6955, allocations: 1.178 MB / 0.776 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003381/0.6959, allocations: 175.2 kB / 0.7761 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.6998, allocations: 1.411 MB / 0.7775 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.7002, allocations: 391.9 kB / 0.7779 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.7017, allocations: 0.9128 MB / 0.7788 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.7069, allocations: 3.28 MB / 0.782 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7069, allocations: 0 / 0.782 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7069, allocations: 1.125 kB / 0.782 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.208e-05/0.707, allocations: 0 / 0.782 GB, free: 14.89 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.004139/0.7111, allocations: 2.034 MB / 0.784 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.7112, allocations: 9.594 kB / 0.784 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.7114, allocations: 157.9 kB / 0.7841 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.7138, allocations: 442.7 kB / 0.7845 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.7165, allocations: 1.566 MB / 0.7861 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.722e-05/0.7166, allocations: 78.03 kB / 0.7862 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.7168, allocations: 106.1 kB / 0.7863 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.7193, allocations: 1.308 MB / 0.7875 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.7193, allocations: 5.438 kB / 0.7875 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.7194, allocations: 47.62 kB / 0.7876 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.7194, allocations: 29.84 kB / 0.7876 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.7221, allocations: 1.095 MB / 0.7887 GB, free: 11.18 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.008235/0.7304, allocations: 7.515 MB / 0.796 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.7334, allocations: 0.8042 MB / 0.7968 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.734, allocations: 286.4 kB / 0.7971 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/0.735, allocations: 1.722 MB / 0.7988 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.735, allocations: 38.56 kB / 0.7988 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.335e-06/0.735, allocations: 0 / 0.7988 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004784/0.7398, allocations: 1.337 MB / 0.8001 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.7398, allocations: 60.66 kB / 0.8002 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.7419, allocations: 1.54 MB / 0.8017 GB, free: 488 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.742, allocations: 39.14 kB / 0.8017 GB, free: 448 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/0.7425, allocations: 0.6789 MB / 0.8024 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.7427, allocations: 169.3 kB / 0.8025 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.743, allocations: 173.4 kB / 0.8027 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7432, allocations: 334.3 kB / 0.803 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009691/0.7441, allocations: 366.1 kB / 0.8034 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.7453, allocations: 0.6582 MB / 0.804 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.7471, allocations: 0.8867 MB / 0.8049 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7471, allocations: 2.844 kB / 0.8049 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002909/0.75, allocations: 1.192 MB / 0.806 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.75, allocations: 7.25 kB / 0.806 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7501, allocations: 8.469 kB / 0.806 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/0.7509, allocations: 218.1 kB / 0.8063 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.7516, allocations: 195.7 kB / 0.8064 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008088/0.7525, allocations: 0.7203 MB / 0.8071 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.7541, allocations: 216.8 kB / 0.8074 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.7542, allocations: 51.11 kB / 0.8074 GB, free: 12.31 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.0005981/0.7548, allocations: 356.4 kB / 0.8077 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.7551, allocations: 145.6 kB / 0.8079 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.7574, allocations: 1.145 MB / 0.809 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.7574, allocations: 10.98 kB / 0.809 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7575, allocations: 0 / 0.809 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.7575, allocations: 3.984 kB / 0.809 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.7628, allocations: 2.517 MB / 0.8115 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.7629, allocations: 6.906 kB / 0.8115 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.7632, allocations: 81.75 kB / 0.8116 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/0.764, allocations: 218 kB / 0.8118 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.7641, allocations: 20 kB / 0.8118 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.7653, allocations: 0.7676 MB / 0.8125 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7654, allocations: 6.688 kB / 0.8125 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.7688, allocations: 1.201 MB / 0.8137 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.7696, allocations: 357.9 kB / 0.8141 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.7698, allocations: 16.22 kB / 0.8141 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.7707, allocations: 74.12 kB / 0.8141 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.7708, allocations: 38.8 kB / 0.8142 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.7709, allocations: 30.73 kB / 0.8142 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001813/0.7727, allocations: 1.085 MB / 0.8153 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7727, allocations: 3.375 kB / 0.8153 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00167/0.7744, allocations: 440.8 kB / 0.8157 GB, free: 6.93 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.004981/0.7794, allocations: 2.14 MB / 0.8178 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.7817, allocations: 0.8464 MB / 0.8186 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.7817, allocations: 0 / 0.8186 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.783, allocations: 444.1 kB / 0.819 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.7864, allocations: 0.7355 MB / 0.8197 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.8043, allocations: 10.45 MB / 0.8299 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.8051, allocations: 1.176 MB / 0.8311 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00128/0.8063, allocations: 264.6 kB / 0.8313 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.8071, allocations: 0.5461 MB / 0.8319 GB, free: 6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/0.8071, allocations: 3.938 kB / 0.8319 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.9089, allocations: 43.83 MB / 0.8747 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.77, allocations: 11.92 kB / 0.8747 GB, free: 10.76 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)