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.006954/0.006954, allocations: 98.97 kB / 15.73 MB, free: 6.035 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.00112/0.00112, allocations: 195.7 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.023/1.023, allocations: 143 MB / 433.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.5955 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.5351, allocations: 82.03 MB / 0.6756 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07387/0.609, allocations: 70.45 MB / 0.7444 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02927/0.6383, allocations: 18.94 MB / 0.7629 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004809/0.6432, allocations: 71.56 kB / 0.763 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.6462, allocations: 0.8228 MB / 0.7638 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009383/0.6556, allocations: 2.849 MB / 0.7666 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.6603, allocations: 1.657 MB / 0.7682 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007069/0.6674, allocations: 4.046 MB / 0.7721 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.6703, allocations: 1.453 MB / 0.7736 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005482/0.6758, allocations: 1.773 MB / 0.7753 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.6784, allocations: 1.175 MB / 0.7764 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.6788, allocations: 176 kB / 0.7766 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.6824, allocations: 1.419 MB / 0.778 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.6829, allocations: 390.6 kB / 0.7784 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.6841, allocations: 0.9215 MB / 0.7793 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005523/0.6896, allocations: 3.28 MB / 0.7825 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6896, allocations: 0 / 0.7825 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6896, allocations: 8 kB / 0.7825 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.393e-05/0.6897, allocations: 0 / 0.7825 GB, free: 8.746 MB / 0.6075 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.003933/0.6936, allocations: 2.094 MB / 0.7845 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6937, allocations: 8.031 kB / 0.7845 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.6958, allocations: 455.3 kB / 0.785 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.6986, allocations: 1.568 MB / 0.7865 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.6987, allocations: 78.03 kB / 0.7866 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.6988, allocations: 108 kB / 0.7867 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.7013, allocations: 1.313 MB / 0.788 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.7014, allocations: 11.94 kB / 0.788 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.7015, allocations: 44 kB / 0.788 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.7015, allocations: 24 kB / 0.788 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.704, allocations: 1.093 MB / 0.7891 GB, free: 1.73 MB / 0.6075 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.008917/0.7129, allocations: 7.515 MB / 0.7964 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.7159, allocations: 0.8039 MB / 0.7972 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.7165, allocations: 286 kB / 0.7975 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.7178, allocations: 1.726 MB / 0.7992 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.7179, allocations: 43 kB / 0.7992 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.445e-06/0.7179, allocations: 3.938 kB / 0.7992 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004776/0.7226, allocations: 1.347 MB / 0.8005 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.7227, allocations: 55.84 kB / 0.8006 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.7254, allocations: 1.549 MB / 0.8021 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-05/0.7255, allocations: 33.7 kB / 0.8021 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.7261, allocations: 0.6857 MB / 0.8028 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.7262, allocations: 182.5 kB / 0.803 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.7265, allocations: 170.5 kB / 0.8031 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7267, allocations: 337.9 kB / 0.8035 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000918/0.7276, allocations: 361.8 kB / 0.8038 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.7288, allocations: 0.6546 MB / 0.8044 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.7305, allocations: 0.8829 MB / 0.8053 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7305, allocations: 7.938 kB / 0.8053 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002917/0.7335, allocations: 1.206 MB / 0.8065 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.7335, allocations: 8 kB / 0.8065 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.7335, allocations: 8 kB / 0.8065 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008925/0.7344, allocations: 224.6 kB / 0.8067 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.7352, allocations: 187.7 kB / 0.8069 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/0.736, allocations: 0.7318 MB / 0.8076 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.7376, allocations: 215 kB / 0.8078 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.7377, allocations: 39.98 kB / 0.8079 GB, free: 13.24 MB / 0.6387 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.0006467/0.7384, allocations: 361.5 kB / 0.8082 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.7386, allocations: 155 kB / 0.8084 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.741, allocations: 1.143 MB / 0.8095 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.741, allocations: 4 kB / 0.8095 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.741, allocations: 8 kB / 0.8095 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.741, allocations: 3.984 kB / 0.8095 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/0.7462, allocations: 2.525 MB / 0.812 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7462, allocations: 0 / 0.812 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.7465, allocations: 83.89 kB / 0.812 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/0.7473, allocations: 212.8 kB / 0.8122 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.7474, allocations: 19.98 kB / 0.8123 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.7486, allocations: 0.7747 MB / 0.813 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.7486, allocations: 4.031 kB / 0.813 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.7519, allocations: 1.204 MB / 0.8142 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.7525, allocations: 367.7 kB / 0.8145 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.7527, allocations: 19.88 kB / 0.8146 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.7536, allocations: 71.92 kB / 0.8146 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.7537, allocations: 44.44 kB / 0.8147 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.7538, allocations: 27.98 kB / 0.8147 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001774/0.7555, allocations: 1.082 MB / 0.8158 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7556, allocations: 0 / 0.8158 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001466/0.757, allocations: 447.1 kB / 0.8162 GB, free: 4.543 MB / 0.6387 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.001199/0.7582, allocations: 498.4 kB / 0.8167 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.7604, allocations: 0.8408 MB / 0.8175 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7604, allocations: 0 / 0.8175 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.7617, allocations: 447.6 kB / 0.8179 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.7647, allocations: 0.7442 MB / 0.8186 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.769, allocations: 2.292 MB / 0.8209 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.7698, allocations: 1.172 MB / 0.822 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009801/0.7708, allocations: 269.1 kB / 0.8223 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.771, allocations: 115.4 kB / 0.8224 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of SimCode: time 2.886e-06/0.771, allocations: 0 / 0.8224 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.05416/0.8252, allocations: 32.11 MB / 0.8537 GB, free: 14.42 MB / 0.6856 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)