Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009488/0.0009489, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001435, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9325/0.9325, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8.188 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 82.32 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3332/0.4792, allocations: 59.67 MB / 0.6469 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.4928, allocations: 11.9 MB / 0.6585 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.4952, allocations: 53.06 kB / 0.6586 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.4969, allocations: 0.5521 MB / 0.6591 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.5021, allocations: 1.802 MB / 0.6609 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.5048, allocations: 1.072 MB / 0.6619 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004229/0.509, allocations: 3.89 MB / 0.6657 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.5105, allocations: 0.9023 MB / 0.6666 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.513, allocations: 1.121 MB / 0.6677 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.5143, allocations: 0.8573 MB / 0.6685 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.5144, allocations: 41.34 kB / 0.6686 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.5172, allocations: 1.335 MB / 0.6699 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.5174, allocations: 210.1 kB / 0.6701 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.5182, allocations: 0.6299 MB / 0.6707 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.5209, allocations: 1.696 MB / 0.6723 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5209, allocations: 1.125 kB / 0.6723 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5209, allocations: 0 / 0.6723 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.5209, allocations: 7.938 kB / 0.6723 GB, free: 2.574 MB / 0.4981 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.002845/0.5238, allocations: 1.478 MB / 0.6738 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5238, allocations: 8.625 kB / 0.6738 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.5261, allocations: 476.5 kB / 0.6742 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.5282, allocations: 1.125 MB / 0.6753 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.5286, allocations: 132.7 kB / 0.6755 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5288, allocations: 86.34 kB / 0.6756 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.5309, allocations: 1.008 MB / 0.6765 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.531, allocations: 4 kB / 0.6765 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.5311, allocations: 32.83 kB / 0.6766 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.5311, allocations: 19.5 kB / 0.6766 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.5336, allocations: 0.9066 MB / 0.6775 GB, free: 15.91 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.006968/0.5405, allocations: 4.886 MB / 0.6822 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.5443, allocations: 0.8917 MB / 0.6831 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/0.5451, allocations: 328.5 kB / 0.6834 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.5457, allocations: 0.9039 MB / 0.6843 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5458, allocations: 40.78 kB / 0.6844 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.063e-06/0.5458, allocations: 4 kB / 0.6844 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008366/0.5542, allocations: 1.951 MB / 0.6863 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.5542, allocations: 60.53 kB / 0.6863 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5563, allocations: 1.054 MB / 0.6873 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.5563, allocations: 38.39 kB / 0.6874 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.5568, allocations: 0.5222 MB / 0.6879 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.557, allocations: 153.5 kB / 0.688 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.5571, allocations: 47.19 kB / 0.6881 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5572, allocations: 329 kB / 0.6884 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009748/0.5582, allocations: 326.8 kB / 0.6887 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.5594, allocations: 0.5274 MB / 0.6892 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.5612, allocations: 0.7347 MB / 0.6899 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5612, allocations: 3.188 kB / 0.6899 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003989/0.5652, allocations: 1.211 MB / 0.6911 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.5654, allocations: 210.9 kB / 0.6913 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5654, allocations: 4.5 kB / 0.6913 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.5668, allocations: 336.5 kB / 0.6917 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.5674, allocations: 127.6 kB / 0.6918 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.569, allocations: 0.9442 MB / 0.6927 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.5706, allocations: 196.4 kB / 0.6929 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.5707, allocations: 28.86 kB / 0.6929 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5707, allocations: 3.688 kB / 0.6929 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003568/0.5743, allocations: 1.072 MB / 0.694 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.5743, allocations: 5.062 kB / 0.694 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.5755, allocations: 320.7 kB / 0.6943 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.576, allocations: 130.5 kB / 0.6944 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.5775, allocations: 0.9349 MB / 0.6953 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.5789, allocations: 173.1 kB / 0.6955 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.579, allocations: 28.31 kB / 0.6955 GB, free: 5.52 MB / 0.5137 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.0007429/0.5798, allocations: 353.2 kB / 0.6958 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.58, allocations: 107.1 kB / 0.6959 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.5827, allocations: 0.9791 MB / 0.6969 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.5828, allocations: 7.375 kB / 0.6969 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5828, allocations: 4 kB / 0.6969 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.5828, allocations: 6.703 kB / 0.6969 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/0.589, allocations: 2.26 MB / 0.6991 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.589, allocations: 5.906 kB / 0.6991 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.5893, allocations: 69.31 kB / 0.6992 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.5905, allocations: 321 kB / 0.6995 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.5905, allocations: 16.28 kB / 0.6995 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.5921, allocations: 0.9685 MB / 0.7005 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5921, allocations: 6.219 kB / 0.7005 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.5962, allocations: 1.256 MB / 0.7017 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/0.5971, allocations: 287.8 kB / 0.702 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/0.5975, allocations: 12.91 kB / 0.702 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.5988, allocations: 118.9 kB / 0.7021 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.599, allocations: 36.47 kB / 0.7021 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/0.599, allocations: 22.52 kB / 0.7022 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001746/0.6008, allocations: 0.7567 MB / 0.7029 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.8e-07/0.6008, allocations: 0 / 0.7029 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002471/0.6033, allocations: 0.5582 MB / 0.7034 GB, free: 1.789 MB / 0.5137 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.001099/0.6044, allocations: 377.2 kB / 0.7038 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.608, allocations: 1.157 MB / 0.7049 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.608, allocations: 1.125 kB / 0.7049 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6091, allocations: 370.4 kB / 0.7053 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/0.6136, allocations: 0.5075 MB / 0.7058 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.6204, allocations: 2.579 MB / 0.7083 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.6211, allocations: 1.06 MB / 0.7093 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.6215, allocations: 81.45 kB / 0.7094 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.6216, allocations: 0 / 0.7094 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.03669/0.6582, allocations: 23.63 MB / 0.7325 GB, free: 7.938 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)