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.001236/0.001236, allocations: 106.6 kB / 16.36 MB, free: 6.285 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.001129/0.001129, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.13 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.8207/0.8207, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05147/0.3461, allocations: 61.15 MB / 0.6554 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.3619, allocations: 12.01 MB / 0.6671 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.364, allocations: 55.69 kB / 0.6672 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.366, allocations: 0.683 MB / 0.6678 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.371, allocations: 1.971 MB / 0.6698 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.3738, allocations: 1.203 MB / 0.6709 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003907/0.3777, allocations: 3.083 MB / 0.6739 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.379, allocations: 1.092 MB / 0.675 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.3816, allocations: 1.338 MB / 0.6763 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3829, allocations: 0.8945 MB / 0.6772 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.3831, allocations: 116 kB / 0.6773 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.3856, allocations: 1.45 MB / 0.6787 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.3858, allocations: 290.9 kB / 0.679 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.3865, allocations: 0.6919 MB / 0.6797 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.3895, allocations: 2.393 MB / 0.682 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3895, allocations: 3.938 kB / 0.682 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3895, allocations: 0 / 0.682 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.3895, allocations: 0 / 0.682 GB, free: 7.523 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.002733/0.3923, allocations: 1.724 MB / 0.6837 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3923, allocations: 12.03 kB / 0.6837 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.3943, allocations: 410.8 kB / 0.6841 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3964, allocations: 1.163 MB / 0.6852 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.3965, allocations: 58 kB / 0.6853 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3966, allocations: 84 kB / 0.6854 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.3984, allocations: 1.001 MB / 0.6863 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3984, allocations: 4 kB / 0.6864 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.3985, allocations: 32 kB / 0.6864 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.3985, allocations: 19.98 kB / 0.6864 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.4005, allocations: 0.8508 MB / 0.6872 GB, free: 2 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.005931/0.4065, allocations: 5.242 MB / 0.6924 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.4096, allocations: 0.7816 MB / 0.6931 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.4102, allocations: 304.5 kB / 0.6934 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/0.411, allocations: 0.9025 MB / 0.6943 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.411, allocations: 38.56 kB / 0.6943 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 4.929e-06/0.411, allocations: 0 / 0.6943 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.006237/0.4173, allocations: 1.697 MB / 0.696 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4173, allocations: 55.41 kB / 0.696 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.4187, allocations: 1.076 MB / 0.6971 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.4188, allocations: 45.7 kB / 0.6971 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.4192, allocations: 0.5272 MB / 0.6976 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4193, allocations: 149.8 kB / 0.6978 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.4195, allocations: 138.1 kB / 0.6979 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4196, allocations: 329.9 kB / 0.6982 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.4205, allocations: 303.3 kB / 0.6985 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009738/0.4215, allocations: 0.5329 MB / 0.699 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.4229, allocations: 0.706 MB / 0.6997 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.423, allocations: 4 kB / 0.6997 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002378/0.4253, allocations: 1.008 MB / 0.7007 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4254, allocations: 11.98 kB / 0.7007 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4254, allocations: 4 kB / 0.7007 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.4265, allocations: 304.6 kB / 0.701 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.427, allocations: 127.7 kB / 0.7011 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.4283, allocations: 0.9029 MB / 0.702 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.4294, allocations: 151.2 kB / 0.7022 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.4295, allocations: 31.98 kB / 0.7022 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/0.4306, allocations: 0.5051 MB / 0.7027 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009611/0.4316, allocations: 0.5251 MB / 0.7032 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/0.4331, allocations: 0.7018 MB / 0.7039 GB, free: 15.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.4331, allocations: 4 kB / 0.7039 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002321/0.4354, allocations: 1.001 MB / 0.7049 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4354, allocations: 8.031 kB / 0.7049 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4354, allocations: 8 kB / 0.7049 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009671/0.4364, allocations: 300.5 kB / 0.7052 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.4369, allocations: 131.8 kB / 0.7053 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.4381, allocations: 0.8996 MB / 0.7062 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.4392, allocations: 135.6 kB / 0.7063 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.4393, allocations: 31.98 kB / 0.7063 GB, free: 13.33 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0001993/0.4395, allocations: 216.1 kB / 0.7065 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.4397, allocations: 114.6 kB / 0.7067 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4418, allocations: 0.919 MB / 0.7076 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4418, allocations: 11.97 kB / 0.7076 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4419, allocations: 7.938 kB / 0.7076 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.4419, allocations: 4 kB / 0.7076 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.4466, allocations: 2.146 MB / 0.7097 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4466, allocations: 8 kB / 0.7097 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.4469, allocations: 59.89 kB / 0.7097 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000873/0.4478, allocations: 288.8 kB / 0.71 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.4478, allocations: 19.94 kB / 0.71 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.4492, allocations: 0.9211 MB / 0.7109 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.4492, allocations: 12.03 kB / 0.7109 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.4524, allocations: 1.144 MB / 0.7121 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.4528, allocations: 263.5 kB / 0.7123 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4529, allocations: 12 kB / 0.7123 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/0.4537, allocations: 71.91 kB / 0.7124 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.4538, allocations: 43.83 kB / 0.7124 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.4538, allocations: 23.98 kB / 0.7125 GB, free: 6.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001088/0.4549, allocations: 0.7512 MB / 0.7132 GB, free: 6.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4549, allocations: 0 / 0.7132 GB, free: 6.117 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001461/0.4564, allocations: 0.5653 MB / 0.7137 GB, free: 5.551 MB / 0.545 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.0007091/0.4571, allocations: 402.2 kB / 0.7141 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.46, allocations: 1.109 MB / 0.7152 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4601, allocations: 0 / 0.7152 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.4609, allocations: 342.9 kB / 0.7155 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.4628, allocations: 0.4953 MB / 0.716 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.4674, allocations: 2.03 MB / 0.718 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.468, allocations: 1.061 MB / 0.719 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007509/0.4687, allocations: 233.2 kB / 0.7193 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4689, allocations: 83.36 kB / 0.7193 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.4689, allocations: 0 / 0.7193 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.03752/0.5064, allocations: 25.11 MB / 0.7439 GB, free: 6.965 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)