Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.0009145/0.0009144, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005445/0.005445, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9166/0.9166, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 8 kB / 0.5165 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 83.4 MB / 0.5979 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.2928/0.4367, allocations: 59.7 MB / 0.6562 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.4509, allocations: 11.92 MB / 0.6679 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.4525, allocations: 54.16 kB / 0.6679 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.4538, allocations: 0.5493 MB / 0.6685 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.4578, allocations: 1.806 MB / 0.6702 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.4603, allocations: 1.078 MB / 0.6713 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004133/0.4645, allocations: 3.901 MB / 0.6751 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.4657, allocations: 0.8959 MB / 0.676 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.4678, allocations: 1.117 MB / 0.6771 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.4691, allocations: 0.8616 MB / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4692, allocations: 42.12 kB / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.4719, allocations: 1.331 MB / 0.6792 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.4722, allocations: 207.4 kB / 0.6794 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.4728, allocations: 0.631 MB / 0.6801 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.4759, allocations: 2.283 MB / 0.6823 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.476, allocations: 0 / 0.6823 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.226e-06/0.476, allocations: 0 / 0.6823 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.476, allocations: 4.938 kB / 0.6823 GB, free: 6.188 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002898/0.4789, allocations: 1.497 MB / 0.6838 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.479, allocations: 8.938 kB / 0.6838 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.4791, allocations: 123.9 kB / 0.6839 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.4814, allocations: 479.1 kB / 0.6843 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.4835, allocations: 1.127 MB / 0.6854 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.4839, allocations: 131.4 kB / 0.6856 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4841, allocations: 80.05 kB / 0.6856 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.4863, allocations: 1.004 MB / 0.6866 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4863, allocations: 0.5156 kB / 0.6866 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.4864, allocations: 36.25 kB / 0.6867 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.4865, allocations: 19.25 kB / 0.6867 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.4889, allocations: 0.9079 MB / 0.6876 GB, free: 3.438 MB / 0.5137 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.006491/0.4954, allocations: 4.899 MB / 0.6923 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.4989, allocations: 0.901 MB / 0.6932 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.4997, allocations: 326.3 kB / 0.6935 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/0.5004, allocations: 0.9035 MB / 0.6944 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5004, allocations: 37.94 kB / 0.6945 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 2.444e-06/0.5004, allocations: 4 kB / 0.6945 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.007564/0.508, allocations: 1.946 MB / 0.6964 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.508, allocations: 55.55 kB / 0.6964 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.5097, allocations: 1.058 MB / 0.6974 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.5097, allocations: 35.02 kB / 0.6975 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.5102, allocations: 0.5216 MB / 0.698 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.5103, allocations: 153.4 kB / 0.6981 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.5104, allocations: 47.11 kB / 0.6982 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5105, allocations: 330.8 kB / 0.6985 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.5114, allocations: 326.4 kB / 0.6988 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5125, allocations: 0.5265 MB / 0.6993 GB, free: 12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.5142, allocations: 0.7283 MB / 0.7 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5142, allocations: 1.125 kB / 0.7 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003597/0.5178, allocations: 1.22 MB / 0.7012 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.518, allocations: 210.5 kB / 0.7014 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.518, allocations: 5.234 kB / 0.7014 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.5192, allocations: 340 kB / 0.7018 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.5198, allocations: 126.7 kB / 0.7019 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5212, allocations: 0.9477 MB / 0.7028 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5226, allocations: 192 kB / 0.703 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.5226, allocations: 31.59 kB / 0.703 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.5227, allocations: 3.094 kB / 0.703 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00314/0.5258, allocations: 1.061 MB / 0.7041 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5258, allocations: 8.5 kB / 0.7041 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.5269, allocations: 329 kB / 0.7044 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.5274, allocations: 126.9 kB / 0.7045 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.5288, allocations: 0.9372 MB / 0.7054 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5298, allocations: 165.2 kB / 0.7056 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.5299, allocations: 28.19 kB / 0.7056 GB, free: 9.047 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005056/0.5304, allocations: 361.1 kB / 0.7059 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5306, allocations: 106.2 kB / 0.706 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.533, allocations: 0.9807 MB / 0.707 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.533, allocations: 12.95 kB / 0.707 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.533, allocations: 4 kB / 0.707 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.533, allocations: 1.938 kB / 0.707 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/0.5383, allocations: 2.262 MB / 0.7092 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5383, allocations: 2.781 kB / 0.7092 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.5386, allocations: 71.11 kB / 0.7093 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.5397, allocations: 327.5 kB / 0.7096 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.5397, allocations: 9.469 kB / 0.7096 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.5412, allocations: 0.9763 MB / 0.7106 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5412, allocations: 3.625 kB / 0.7106 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.5449, allocations: 1.258 MB / 0.7118 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.5454, allocations: 285.3 kB / 0.7121 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.5456, allocations: 11.33 kB / 0.7121 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/0.5465, allocations: 114.6 kB / 0.7122 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.5466, allocations: 40.33 kB / 0.7122 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.5466, allocations: 18.91 kB / 0.7123 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001151/0.5478, allocations: 0.7471 MB / 0.713 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5478, allocations: 0 / 0.713 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001588/0.5494, allocations: 0.5596 MB / 0.7135 GB, free: 4.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004465/0.5539, allocations: 2.073 MB / 0.7156 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.5569, allocations: 1.167 MB / 0.7167 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5569, allocations: 4 kB / 0.7167 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.5578, allocations: 375.5 kB / 0.7171 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.5605, allocations: 0.5129 MB / 0.7176 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.5793, allocations: 9.226 MB / 0.7266 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.58, allocations: 1.061 MB / 0.7276 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009222/0.5809, allocations: 226.8 kB / 0.7278 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.5814, allocations: 407.3 kB / 0.7282 GB, free: 4.836 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.5814, allocations: 0 / 0.7282 GB, free: 4.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/0.6292, allocations: 32.27 MB / 0.7597 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.6294, allocations: 276.9 kB / 0.76 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.037, allocations: 0 / 0.76 GB, free: 4.652 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)