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: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008873/0.008873, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001846/0.001847, allocations: 191.6 kB / 16.79 MB, free: 5.809 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.438 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 1.017/1.017, allocations: 143 MB / 433.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 60.09 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2653, allocations: 82.03 MB / 0.5942 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3824/0.6478, allocations: 70.04 MB / 0.6626 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.6734, allocations: 19.02 MB / 0.6812 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.6769, allocations: 67.5 kB / 0.6813 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.6799, allocations: 0.6491 MB / 0.6819 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009113/0.689, allocations: 2.606 MB / 0.6845 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.6938, allocations: 1.486 MB / 0.6859 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008194/0.702, allocations: 5.016 MB / 0.6908 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.7045, allocations: 1.185 MB / 0.692 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.7088, allocations: 1.498 MB / 0.6934 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.7118, allocations: 1.154 MB / 0.6946 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004089/0.7123, allocations: 79.69 kB / 0.6946 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.7165, allocations: 1.243 MB / 0.6958 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006185/0.7172, allocations: 299.3 kB / 0.6961 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.7193, allocations: 0.8142 MB / 0.6969 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.724, allocations: 2.596 MB / 0.6995 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.724, allocations: 0 / 0.6995 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.724, allocations: 0 / 0.6995 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.948e-05/0.7241, allocations: 1.219 kB / 0.6995 GB, free: 9.344 MB / 0.5294 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.005008/0.7291, allocations: 2.035 MB / 0.7015 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7292, allocations: 10.12 kB / 0.7015 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.7317, allocations: 448.3 kB / 0.7019 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.7352, allocations: 1.508 MB / 0.7034 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/0.7356, allocations: 140 kB / 0.7035 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.7358, allocations: 106 kB / 0.7036 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.7387, allocations: 1.291 MB / 0.7049 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.7387, allocations: 7.562 kB / 0.7049 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.7388, allocations: 42.5 kB / 0.7049 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.7389, allocations: 25.94 kB / 0.7049 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.7417, allocations: 1.103 MB / 0.706 GB, free: 5.734 MB / 0.5294 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.009898/0.7516, allocations: 7.162 MB / 0.713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.7548, allocations: 0.7995 MB / 0.7138 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.7554, allocations: 279.2 kB / 0.7141 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.7568, allocations: 1.726 MB / 0.7157 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.7569, allocations: 38.22 kB / 0.7158 GB, free: 12.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 4.609e-06/0.7569, allocations: 0 / 0.7158 GB, free: 12.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004847/0.7618, allocations: 1.335 MB / 0.7171 GB, free: 12.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7618, allocations: 57.62 kB / 0.7171 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.7646, allocations: 1.528 MB / 0.7186 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7648, allocations: 36.98 kB / 0.7187 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/0.7654, allocations: 0.6649 MB / 0.7193 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.7656, allocations: 171.1 kB / 0.7195 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.7659, allocations: 161.9 kB / 0.7196 GB, free: 10.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7661, allocations: 331.6 kB / 0.7199 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009823/0.7671, allocations: 367.5 kB / 0.7203 GB, free: 9.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.7683, allocations: 0.6304 MB / 0.7209 GB, free: 9.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.77, allocations: 0.8463 MB / 0.7217 GB, free: 8.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.77, allocations: 7.844 kB / 0.7217 GB, free: 8.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004321/0.7744, allocations: 1.328 MB / 0.723 GB, free: 8.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.7744, allocations: 11.88 kB / 0.7231 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.7744, allocations: 14.56 kB / 0.7231 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008846/0.7753, allocations: 217.1 kB / 0.7233 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.7761, allocations: 192.3 kB / 0.7235 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.7769, allocations: 0.7065 MB / 0.7241 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.7788, allocations: 243.6 kB / 0.7244 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.779, allocations: 42.23 kB / 0.7244 GB, free: 7.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0006682/0.7796, allocations: 356.8 kB / 0.7248 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.78, allocations: 145.9 kB / 0.7249 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.7824, allocations: 1.148 MB / 0.726 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.7824, allocations: 4 kB / 0.726 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7825, allocations: 4 kB / 0.726 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.7825, allocations: 7.922 kB / 0.726 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.7878, allocations: 2.512 MB / 0.7285 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.7878, allocations: 4 kB / 0.7285 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.7882, allocations: 87.81 kB / 0.7286 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007979/0.789, allocations: 220.7 kB / 0.7288 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.789, allocations: 12 kB / 0.7288 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.7903, allocations: 0.7708 MB / 0.7295 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7903, allocations: 4.219 kB / 0.7296 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/0.7938, allocations: 1.199 MB / 0.7307 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/0.7947, allocations: 354.9 kB / 0.7311 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.7949, allocations: 16 kB / 0.7311 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/0.7959, allocations: 91.73 kB / 0.7312 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.796, allocations: 44.39 kB / 0.7312 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.7961, allocations: 23.98 kB / 0.7312 GB, free: 168 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001861/0.7979, allocations: 1.086 MB / 0.7323 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7979, allocations: 0 / 0.7323 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001561/0.7995, allocations: 427.4 kB / 0.7327 GB, free: 14.66 MB / 0.5606 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.001039/0.8006, allocations: 495.2 kB / 0.7332 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.8028, allocations: 0.8235 MB / 0.734 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8028, allocations: 3.938 kB / 0.734 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.804, allocations: 443.5 kB / 0.7344 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.8073, allocations: 0.6961 MB / 0.7351 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.8115, allocations: 2.77 MB / 0.7378 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.8123, allocations: 1.162 MB / 0.7389 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.8127, allocations: 119.4 kB / 0.739 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/0.8127, allocations: 4 kB / 0.739 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of Templates: time 0.04513/0.8578, allocations: 34.17 MB / 0.7724 GB, free: 6.219 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)