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: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008361/0.000836, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008767/0.0008768, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.387 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.8515/0.8515, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 83.42 MB / 0.5972 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.256/0.3824, allocations: 56.44 MB / 0.6524 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3929, allocations: 11.24 MB / 0.6633 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.3942, allocations: 48.69 kB / 0.6634 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.3952, allocations: 462.4 kB / 0.6638 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.398, allocations: 1.531 MB / 0.6653 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.4001, allocations: 0.8666 MB / 0.6662 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003695/0.4038, allocations: 3.382 MB / 0.6695 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.4049, allocations: 0.7974 MB / 0.6702 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.4069, allocations: 1.031 MB / 0.6713 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.408, allocations: 0.7986 MB / 0.672 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.4081, allocations: 42.28 kB / 0.6721 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.4103, allocations: 1.098 MB / 0.6731 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.4105, allocations: 205.4 kB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.4108, allocations: 283.1 kB / 0.6736 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.4128, allocations: 1.729 MB / 0.6753 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4128, allocations: 0 / 0.6753 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4128, allocations: 0 / 0.6753 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.4128, allocations: 1.125 kB / 0.6753 GB, free: 11.98 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.002407/0.4152, allocations: 1.497 MB / 0.6768 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.4153, allocations: 16.66 kB / 0.6768 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.4171, allocations: 474.5 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.419, allocations: 1.091 MB / 0.6783 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.4193, allocations: 132.4 kB / 0.6784 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4194, allocations: 83.17 kB / 0.6785 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.4213, allocations: 0.9978 MB / 0.6795 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4213, allocations: 5.688 kB / 0.6795 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.4214, allocations: 31.94 kB / 0.6795 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4214, allocations: 18.38 kB / 0.6795 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.4234, allocations: 0.9013 MB / 0.6804 GB, free: 9.359 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.00565/0.4291, allocations: 4.887 MB / 0.6852 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.432, allocations: 0.905 MB / 0.6861 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/0.4326, allocations: 319.6 kB / 0.6864 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005631/0.4332, allocations: 0.9122 MB / 0.6873 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4332, allocations: 36.84 kB / 0.6873 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.4332, allocations: 0 / 0.6873 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.005923/0.4392, allocations: 1.945 MB / 0.6892 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.4392, allocations: 57.03 kB / 0.6892 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4406, allocations: 1.051 MB / 0.6903 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.4407, allocations: 38.36 kB / 0.6903 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.4411, allocations: 0.5189 MB / 0.6908 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4412, allocations: 149 kB / 0.691 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.4412, allocations: 11.78 kB / 0.691 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4413, allocations: 331.6 kB / 0.6913 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.4421, allocations: 316.6 kB / 0.6916 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.443, allocations: 0.5259 MB / 0.6921 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.4437, allocations: 355.2 kB / 0.6924 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4438, allocations: 1.156 kB / 0.6924 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002991/0.4467, allocations: 1.22 MB / 0.6936 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.4469, allocations: 211.2 kB / 0.6938 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4469, allocations: 9.281 kB / 0.6938 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.4479, allocations: 336.1 kB / 0.6942 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.4483, allocations: 126.5 kB / 0.6943 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.4496, allocations: 0.9339 MB / 0.6952 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.4507, allocations: 195.2 kB / 0.6954 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.4507, allocations: 29.78 kB / 0.6954 GB, free: 368 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/0.4507, allocations: 5.5 kB / 0.6954 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/0.4534, allocations: 1.077 MB / 0.6965 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4534, allocations: 4.219 kB / 0.6965 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009053/0.4543, allocations: 329.9 kB / 0.6968 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.4548, allocations: 123.1 kB / 0.6969 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.456, allocations: 0.9384 MB / 0.6978 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.457, allocations: 166.4 kB / 0.698 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.457, allocations: 32.67 kB / 0.698 GB, free: 15.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004689/0.4575, allocations: 351.9 kB / 0.6983 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4577, allocations: 114.4 kB / 0.6985 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.4597, allocations: 0.9796 MB / 0.6994 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4597, allocations: 4.281 kB / 0.6994 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4597, allocations: 4.031 kB / 0.6994 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4597, allocations: 3.984 kB / 0.6994 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/0.464, allocations: 2.257 MB / 0.7016 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.464, allocations: 2.438 kB / 0.7016 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.4643, allocations: 67.14 kB / 0.7017 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008736/0.4652, allocations: 325.8 kB / 0.702 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.4652, allocations: 18.36 kB / 0.702 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.4665, allocations: 0.9658 MB / 0.703 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4665, allocations: 7.031 kB / 0.703 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.4694, allocations: 1.253 MB / 0.7042 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.4698, allocations: 285.1 kB / 0.7045 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.47, allocations: 9.188 kB / 0.7045 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007645/0.4707, allocations: 118.7 kB / 0.7046 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.4708, allocations: 35.91 kB / 0.7046 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.4709, allocations: 24.36 kB / 0.7047 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001114/0.472, allocations: 0.7365 MB / 0.7054 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.472, allocations: 0 / 0.7054 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001543/0.4735, allocations: 0.5537 MB / 0.7059 GB, free: 10.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006538/0.4742, allocations: 371.5 kB / 0.7063 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.4768, allocations: 1.161 MB / 0.7074 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4768, allocations: 1.625 kB / 0.7074 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007319/0.4775, allocations: 371.2 kB / 0.7078 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.4795, allocations: 0.5027 MB / 0.7082 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.484, allocations: 2.493 MB / 0.7107 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.4846, allocations: 1.061 MB / 0.7117 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008043/0.4854, allocations: 218.7 kB / 0.7119 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.4855, allocations: 71.42 kB / 0.712 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.4856, allocations: 0 / 0.712 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of Templates: time 0.03254/0.5181, allocations: 23.17 MB / 0.7346 GB, free: 15.19 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)