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.000999/0.0009991, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000993/0.0009929, allocations: 192.6 kB / 16.25 MB, free: 6.582 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.496 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 0.9242/0.9242, allocations: 143 MB / 433.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1378, allocations: 82.04 MB / 0.5939 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2877/0.4256, allocations: 69.85 MB / 0.6621 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02178/0.4474, allocations: 18.8 MB / 0.6805 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.4496, allocations: 66.78 kB / 0.6805 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.4516, allocations: 0.7002 MB / 0.6812 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.4584, allocations: 2.656 MB / 0.6838 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.462, allocations: 1.519 MB / 0.6853 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005185/0.4672, allocations: 4.055 MB / 0.6893 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.4692, allocations: 1.457 MB / 0.6907 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.4728, allocations: 1.778 MB / 0.6924 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.4745, allocations: 1.213 MB / 0.6936 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.4747, allocations: 176.1 kB / 0.6938 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.4776, allocations: 1.436 MB / 0.6952 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/0.478, allocations: 392.5 kB / 0.6955 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009307/0.4789, allocations: 0.9228 MB / 0.6964 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.4834, allocations: 3.267 MB / 0.6996 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4835, allocations: 0 / 0.6996 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4835, allocations: 1.156 kB / 0.6996 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.249e-05/0.4835, allocations: 0 / 0.6996 GB, free: 8.246 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.003667/0.4872, allocations: 2.028 MB / 0.7016 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4872, allocations: 9.062 kB / 0.7016 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.4874, allocations: 155 kB / 0.7018 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.4897, allocations: 449 kB / 0.7022 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.4922, allocations: 1.523 MB / 0.7037 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.4925, allocations: 133.7 kB / 0.7038 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.4927, allocations: 106.3 kB / 0.7039 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.4952, allocations: 1.296 MB / 0.7052 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4952, allocations: 5.062 kB / 0.7052 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.4953, allocations: 42.38 kB / 0.7052 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.4954, allocations: 26.5 kB / 0.7053 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.4979, allocations: 1.109 MB / 0.7063 GB, free: 4.531 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.008344/0.5063, allocations: 7.145 MB / 0.7133 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.5094, allocations: 0.803 MB / 0.7141 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.5099, allocations: 283.7 kB / 0.7144 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.5111, allocations: 1.715 MB / 0.716 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.5112, allocations: 45.12 kB / 0.7161 GB, free: 11.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.255e-06/0.5112, allocations: 0 / 0.7161 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004529/0.5157, allocations: 1.343 MB / 0.7174 GB, free: 11.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.5157, allocations: 57.44 kB / 0.7175 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.5179, allocations: 1.516 MB / 0.7189 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.518, allocations: 37.95 kB / 0.719 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.5185, allocations: 0.6674 MB / 0.7196 GB, free: 9.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5187, allocations: 172.5 kB / 0.7198 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.5189, allocations: 161.4 kB / 0.7199 GB, free: 9.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5191, allocations: 343.6 kB / 0.7203 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009275/0.52, allocations: 357.8 kB / 0.7206 GB, free: 8.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5212, allocations: 0.635 MB / 0.7212 GB, free: 8.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.5227, allocations: 0.8472 MB / 0.7221 GB, free: 7.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5228, allocations: 4 kB / 0.7221 GB, free: 7.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003963/0.5267, allocations: 1.335 MB / 0.7234 GB, free: 7.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5268, allocations: 6.438 kB / 0.7234 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5268, allocations: 7.688 kB / 0.7234 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008589/0.5276, allocations: 218.5 kB / 0.7236 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.5284, allocations: 186.3 kB / 0.7238 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008083/0.5292, allocations: 0.7132 MB / 0.7245 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.5308, allocations: 236.9 kB / 0.7247 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.5309, allocations: 38.23 kB / 0.7247 GB, free: 6.195 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.000556/0.5315, allocations: 361.6 kB / 0.7251 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.5317, allocations: 144.4 kB / 0.7252 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.534, allocations: 1.144 MB / 0.7263 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.534, allocations: 12 kB / 0.7263 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5341, allocations: 3.938 kB / 0.7263 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5341, allocations: 3.984 kB / 0.7263 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.5389, allocations: 2.516 MB / 0.7288 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.539, allocations: 0 / 0.7288 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.5393, allocations: 83.88 kB / 0.7289 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007088/0.54, allocations: 224.7 kB / 0.7291 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.5401, allocations: 16 kB / 0.7291 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.5413, allocations: 0.7669 MB / 0.7299 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5413, allocations: 4.031 kB / 0.7299 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.5444, allocations: 1.203 MB / 0.731 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.545, allocations: 354.8 kB / 0.7314 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.5452, allocations: 16 kB / 0.7314 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.5462, allocations: 95.73 kB / 0.7315 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.5463, allocations: 40.39 kB / 0.7315 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.5463, allocations: 31.98 kB / 0.7316 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001603/0.5479, allocations: 1.078 MB / 0.7326 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5479, allocations: 0 / 0.7326 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001296/0.5492, allocations: 435.4 kB / 0.733 GB, free: 13.81 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.004266/0.5535, allocations: 2.126 MB / 0.7351 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.5557, allocations: 0.8624 MB / 0.7359 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5558, allocations: 4 kB / 0.7359 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.557, allocations: 443.5 kB / 0.7364 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.56, allocations: 0.7476 MB / 0.7371 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/0.5897, allocations: 11.67 MB / 0.7485 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.5904, allocations: 1.172 MB / 0.7496 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001093/0.5915, allocations: 258.5 kB / 0.7499 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.5922, allocations: 0.5461 MB / 0.7504 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.5922, allocations: 0 / 0.7504 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05883/0.651, allocations: 43.14 MB / 0.7925 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.6513, allocations: 290.2 kB / 0.7928 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.374, allocations: 8 kB / 0.7928 GB, free: 500 kB / 0.6075 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)