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.001224/0.001224, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001317/0.001317, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 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.8388/0.8388, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 82.05 MB / 0.5957 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.0513/0.3963, allocations: 61.14 MB / 0.6554 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.4124, allocations: 12 MB / 0.6671 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.4143, allocations: 59.62 kB / 0.6672 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.4159, allocations: 0.683 MB / 0.6679 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.4209, allocations: 1.971 MB / 0.6698 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.4238, allocations: 1.202 MB / 0.6709 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.428, allocations: 3.083 MB / 0.674 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.4296, allocations: 1.101 MB / 0.675 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.4325, allocations: 1.32 MB / 0.6763 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.4339, allocations: 0.8945 MB / 0.6772 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.434, allocations: 120 kB / 0.6773 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.4367, allocations: 1.447 MB / 0.6787 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.437, allocations: 290.9 kB / 0.679 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007486/0.4378, allocations: 0.6958 MB / 0.6797 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.441, allocations: 2.399 MB / 0.682 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4411, allocations: 0 / 0.682 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4411, allocations: 0 / 0.682 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.4411, allocations: 0 / 0.682 GB, free: 7.664 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.002986/0.4441, allocations: 1.723 MB / 0.6837 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4441, allocations: 12.03 kB / 0.6837 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.4461, allocations: 406.8 kB / 0.6841 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.4483, allocations: 1.171 MB / 0.6853 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.4483, allocations: 69.98 kB / 0.6853 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4484, allocations: 80 kB / 0.6854 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.4502, allocations: 0.9937 MB / 0.6864 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4503, allocations: 4 kB / 0.6864 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.4504, allocations: 32 kB / 0.6864 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.4504, allocations: 20 kB / 0.6864 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.4524, allocations: 0.8507 MB / 0.6872 GB, free: 2.137 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.005889/0.4583, allocations: 5.245 MB / 0.6924 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.4614, allocations: 0.7841 MB / 0.6931 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.462, allocations: 299.3 kB / 0.6934 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/0.4626, allocations: 0.9025 MB / 0.6943 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.4626, allocations: 38.56 kB / 0.6943 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.4627, allocations: 4 kB / 0.6943 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.006392/0.469, allocations: 1.693 MB / 0.696 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.4691, allocations: 55.41 kB / 0.696 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.4706, allocations: 1.076 MB / 0.6971 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.4707, allocations: 37.7 kB / 0.6971 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.4711, allocations: 0.5273 MB / 0.6977 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4712, allocations: 153.8 kB / 0.6978 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.4714, allocations: 138.1 kB / 0.6979 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4715, allocations: 333.9 kB / 0.6982 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008015/0.4723, allocations: 307.3 kB / 0.6985 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/0.4733, allocations: 0.5212 MB / 0.6991 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.4748, allocations: 0.7099 MB / 0.6997 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4749, allocations: 4 kB / 0.6997 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002514/0.4774, allocations: 1.008 MB / 0.7007 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4774, allocations: 8 kB / 0.7007 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4774, allocations: 4 kB / 0.7007 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.4786, allocations: 310.4 kB / 0.701 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.4792, allocations: 131.7 kB / 0.7012 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.4805, allocations: 0.8958 MB / 0.702 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4817, allocations: 151.2 kB / 0.7022 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.4817, allocations: 35.98 kB / 0.7022 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00111/0.4829, allocations: 0.5012 MB / 0.7027 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009422/0.4838, allocations: 0.5251 MB / 0.7032 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/0.4853, allocations: 0.7097 MB / 0.7039 GB, free: 12 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.4853, allocations: 0 / 0.7039 GB, free: 12 kB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002497/0.4878, allocations: 1.005 MB / 0.7049 GB, free: 15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4878, allocations: 8 kB / 0.7049 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4879, allocations: 7.938 kB / 0.7049 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4889, allocations: 307.6 kB / 0.7052 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.4894, allocations: 127.7 kB / 0.7053 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.4906, allocations: 0.8996 MB / 0.7062 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.4918, allocations: 131.6 kB / 0.7063 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.4919, allocations: 35.98 kB / 0.7064 GB, free: 13.46 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.0002505/0.4922, allocations: 216.1 kB / 0.7066 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.4924, allocations: 118.6 kB / 0.7067 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.4946, allocations: 0.919 MB / 0.7076 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4947, allocations: 4 kB / 0.7076 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4947, allocations: 4 kB / 0.7076 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4947, allocations: 3.984 kB / 0.7076 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.4994, allocations: 2.138 MB / 0.7097 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4994, allocations: 4 kB / 0.7097 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.4997, allocations: 63.89 kB / 0.7097 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008966/0.5006, allocations: 284.9 kB / 0.71 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.5007, allocations: 23.92 kB / 0.71 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.5019, allocations: 0.9214 MB / 0.7109 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.502, allocations: 7.969 kB / 0.7109 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.5052, allocations: 1.148 MB / 0.7121 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.5056, allocations: 267.5 kB / 0.7123 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.5058, allocations: 8 kB / 0.7123 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000755/0.5065, allocations: 75.91 kB / 0.7124 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.5066, allocations: 43.83 kB / 0.7124 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.5067, allocations: 23.98 kB / 0.7125 GB, free: 7.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001102/0.5078, allocations: 0.755 MB / 0.7132 GB, free: 6.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5078, allocations: 0 / 0.7132 GB, free: 6.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001487/0.5093, allocations: 0.5653 MB / 0.7138 GB, free: 5.688 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.0007356/0.51, allocations: 397.3 kB / 0.7141 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002875/0.5129, allocations: 1.105 MB / 0.7152 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.513, allocations: 4 kB / 0.7152 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/0.5138, allocations: 342.9 kB / 0.7155 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.5158, allocations: 0.5049 MB / 0.716 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.5204, allocations: 2.023 MB / 0.718 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.521, allocations: 1.057 MB / 0.719 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007375/0.5217, allocations: 232 kB / 0.7193 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.5219, allocations: 71.42 kB / 0.7193 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.5219, allocations: 3.938 kB / 0.7193 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.03719/0.5591, allocations: 25.11 MB / 0.7439 GB, free: 7.105 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)