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.007072/0.007072, allocations: 102 kB / 15.73 MB, free: 6 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.001464/0.001464, allocations: 193.9 kB / 16.68 MB, free: 5.922 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.8326/0.8326, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.88 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1915, allocations: 82.04 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06632/0.2579, allocations: 70.45 MB / 0.7444 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4384/0.6963, allocations: 18.94 MB / 0.7629 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.6996, allocations: 71.84 kB / 0.763 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.7023, allocations: 0.8189 MB / 0.7638 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009087/0.7114, allocations: 2.847 MB / 0.7666 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005335/0.7167, allocations: 1.66 MB / 0.7682 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007583/0.7243, allocations: 4.045 MB / 0.7721 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.7274, allocations: 1.463 MB / 0.7736 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/0.7328, allocations: 1.764 MB / 0.7753 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.7358, allocations: 1.18 MB / 0.7764 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.7363, allocations: 178.5 kB / 0.7766 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.7407, allocations: 1.418 MB / 0.778 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.7411, allocations: 383.4 kB / 0.7784 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.7428, allocations: 0.9207 MB / 0.7793 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.7487, allocations: 3.28 MB / 0.7825 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7488, allocations: 0 / 0.7825 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7488, allocations: 0 / 0.7825 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.149e-05/0.7488, allocations: 4 kB / 0.7825 GB, free: 15.18 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.00399/0.7528, allocations: 2.028 MB / 0.7844 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7529, allocations: 13.53 kB / 0.7845 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.7552, allocations: 443.1 kB / 0.7849 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.7579, allocations: 1.56 MB / 0.7864 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.758, allocations: 81.97 kB / 0.7865 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.7582, allocations: 102.1 kB / 0.7866 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.7607, allocations: 1.314 MB / 0.7879 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.7608, allocations: 8.906 kB / 0.7879 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.7609, allocations: 42.97 kB / 0.7879 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.7609, allocations: 26.88 kB / 0.7879 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.7635, allocations: 1.095 MB / 0.789 GB, free: 11.59 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.007233/0.7708, allocations: 7.505 MB / 0.7963 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.7736, allocations: 0.8082 MB / 0.7971 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.7741, allocations: 283.4 kB / 0.7974 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/0.775, allocations: 1.722 MB / 0.7991 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.775, allocations: 37.66 kB / 0.7991 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.775, allocations: 0 / 0.7991 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004487/0.7795, allocations: 1.341 MB / 0.8004 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.7796, allocations: 57.56 kB / 0.8005 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.7817, allocations: 1.542 MB / 0.802 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.7818, allocations: 40.14 kB / 0.802 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.7822, allocations: 0.6698 MB / 0.8027 GB, free: 192 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.7823, allocations: 177.5 kB / 0.8028 GB, free: 40 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.7826, allocations: 171.3 kB / 0.803 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7828, allocations: 336.3 kB / 0.8033 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.7837, allocations: 362.5 kB / 0.8037 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.785, allocations: 0.6576 MB / 0.8043 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.7869, allocations: 0.8841 MB / 0.8052 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.7869, allocations: 6.906 kB / 0.8052 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003291/0.7902, allocations: 1.2 MB / 0.8064 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.7903, allocations: 10.06 kB / 0.8064 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.7903, allocations: 6.188 kB / 0.8064 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009022/0.7912, allocations: 221.6 kB / 0.8066 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.792, allocations: 199.7 kB / 0.8068 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008896/0.7929, allocations: 0.7185 MB / 0.8075 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.7947, allocations: 216.2 kB / 0.8077 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.7948, allocations: 37.39 kB / 0.8077 GB, free: 12.66 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.0007246/0.7956, allocations: 359.4 kB / 0.8081 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.796, allocations: 149.8 kB / 0.8082 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.7985, allocations: 1.141 MB / 0.8093 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.7986, allocations: 8.188 kB / 0.8093 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7986, allocations: 0 / 0.8093 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.7986, allocations: 3.984 kB / 0.8093 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.8044, allocations: 2.526 MB / 0.8118 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.8044, allocations: 7.219 kB / 0.8118 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.8048, allocations: 81.95 kB / 0.8119 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.8056, allocations: 216.4 kB / 0.8121 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.8056, allocations: 19.11 kB / 0.8121 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.8069, allocations: 0.7655 MB / 0.8129 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8069, allocations: 7.531 kB / 0.8129 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.8103, allocations: 1.199 MB / 0.814 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/0.8112, allocations: 357.1 kB / 0.8144 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.8115, allocations: 21.28 kB / 0.8144 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.8126, allocations: 71.02 kB / 0.8145 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.8127, allocations: 39.56 kB / 0.8145 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.8127, allocations: 24.36 kB / 0.8145 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001962/0.8147, allocations: 1.087 MB / 0.8156 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8147, allocations: 3.938 kB / 0.8156 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001783/0.8165, allocations: 452.6 kB / 0.816 GB, free: 7.078 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.001409/0.8179, allocations: 495.7 kB / 0.8165 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.8204, allocations: 0.8546 MB / 0.8173 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.8204, allocations: 0 / 0.8173 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.8217, allocations: 439.6 kB / 0.8177 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/0.8253, allocations: 0.7453 MB / 0.8185 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.8297, allocations: 2.238 MB / 0.8207 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/0.8305, allocations: 1.18 MB / 0.8218 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001089/0.8316, allocations: 260.5 kB / 0.8221 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.832, allocations: 115.4 kB / 0.8222 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.832, allocations: 0 / 0.8222 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of Templates: time 0.05173/0.8837, allocations: 32.65 MB / 0.8541 GB, free: 0.5625 MB / 0.6231 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)