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.001503/0.001503, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001444/0.001444, allocations: 183 kB / 17.34 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 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.8771/0.8771, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 73.09 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1459, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07222/0.2181, allocations: 70.56 MB / 0.7452 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3523/0.5704, allocations: 18.96 MB / 0.7637 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.5729, allocations: 69.31 kB / 0.7638 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.575, allocations: 0.8506 MB / 0.7646 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007712/0.5827, allocations: 3.004 MB / 0.7676 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004732/0.5875, allocations: 1.661 MB / 0.7692 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007044/0.5945, allocations: 4.043 MB / 0.7731 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.5968, allocations: 1.185 MB / 0.7743 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004837/0.6016, allocations: 1.815 MB / 0.7761 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.6041, allocations: 1.182 MB / 0.7772 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.6045, allocations: 177.8 kB / 0.7774 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.6081, allocations: 1.408 MB / 0.7788 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.6084, allocations: 402.2 kB / 0.7791 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.6097, allocations: 0.9175 MB / 0.78 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.6146, allocations: 3.292 MB / 0.7832 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6146, allocations: 1.188 kB / 0.7833 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6146, allocations: 7.938 kB / 0.7833 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.598e-05/0.6146, allocations: 0 / 0.7833 GB, free: 15.12 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.003555/0.6182, allocations: 2.085 MB / 0.7853 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6182, allocations: 8.594 kB / 0.7853 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.6204, allocations: 452 kB / 0.7857 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.6229, allocations: 1.574 MB / 0.7873 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.623, allocations: 81.81 kB / 0.7873 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.6231, allocations: 101.6 kB / 0.7874 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.6254, allocations: 1.315 MB / 0.7887 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.6254, allocations: 9.188 kB / 0.7887 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.6255, allocations: 43.19 kB / 0.7888 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.6256, allocations: 25.72 kB / 0.7888 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.628, allocations: 1.102 MB / 0.7899 GB, free: 11.48 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.006717/0.6347, allocations: 7.514 MB / 0.7972 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.6374, allocations: 0.7752 MB / 0.798 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.6379, allocations: 261 kB / 0.7982 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/0.6387, allocations: 1.725 MB / 0.7999 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6387, allocations: 42.95 kB / 0.7999 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.6387, allocations: 2.625 kB / 0.8 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004351/0.6431, allocations: 1.337 MB / 0.8013 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.6431, allocations: 56.56 kB / 0.8013 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.6451, allocations: 1.549 MB / 0.8028 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/0.6451, allocations: 39.14 kB / 0.8029 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.6455, allocations: 0.6902 MB / 0.8035 GB, free: 32 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.6457, allocations: 176.1 kB / 0.8037 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.646, allocations: 177.3 kB / 0.8039 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6462, allocations: 333 kB / 0.8042 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/0.6471, allocations: 359.7 kB / 0.8045 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.6484, allocations: 0.6616 MB / 0.8052 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.6501, allocations: 0.8874 MB / 0.806 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6501, allocations: 6.875 kB / 0.8061 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002923/0.6531, allocations: 1.2 MB / 0.8072 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6531, allocations: 8.344 kB / 0.8072 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6531, allocations: 9.266 kB / 0.8072 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008525/0.6539, allocations: 228 kB / 0.8075 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.6546, allocations: 194.5 kB / 0.8076 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/0.6555, allocations: 0.7151 MB / 0.8083 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.6571, allocations: 215.1 kB / 0.8085 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.6572, allocations: 44.28 kB / 0.8086 GB, free: 12.49 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.0005723/0.6577, allocations: 360.1 kB / 0.8089 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.658, allocations: 156.6 kB / 0.8091 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.6603, allocations: 1.145 MB / 0.8102 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.6603, allocations: 13.42 kB / 0.8102 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6603, allocations: 2.875 kB / 0.8102 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6603, allocations: 0 / 0.8102 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.6655, allocations: 2.521 MB / 0.8127 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6655, allocations: 2.625 kB / 0.8127 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.6658, allocations: 86.03 kB / 0.8128 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007288/0.6665, allocations: 210.8 kB / 0.813 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.6666, allocations: 19.17 kB / 0.813 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.6679, allocations: 0.777 MB / 0.8137 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.6679, allocations: 7.922 kB / 0.8137 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.6712, allocations: 1.206 MB / 0.8149 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/0.6719, allocations: 360.8 kB / 0.8153 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.6721, allocations: 12.69 kB / 0.8153 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/0.673, allocations: 73.53 kB / 0.8154 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.6731, allocations: 39.48 kB / 0.8154 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.6732, allocations: 25.64 kB / 0.8154 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00173/0.6749, allocations: 1.087 MB / 0.8165 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6749, allocations: 0 / 0.8165 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00137/0.6763, allocations: 450 kB / 0.8169 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.0009863/0.6772, allocations: 0.4935 MB / 0.8174 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.6794, allocations: 0.8174 MB / 0.8182 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6794, allocations: 4 kB / 0.8182 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.6807, allocations: 416.6 kB / 0.8186 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/0.6837, allocations: 0.746 MB / 0.8193 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.6878, allocations: 2.326 MB / 0.8216 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.6886, allocations: 1.157 MB / 0.8227 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.689, allocations: 127.4 kB / 0.8228 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of SimCode: time 5.42e-07/0.689, allocations: 0 / 0.8228 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of Templates: time 0.04589/0.7349, allocations: 34.69 MB / 0.8567 GB, free: 14.57 MB / 0.6387 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)