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.001358/0.001358, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.002117/0.002117, allocations: 190.9 kB / 16.25 MB, free: 6.148 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 64.31 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2257, allocations: 80.93 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3662/0.5919, allocations: 60.64 MB / 0.6431 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.6063, allocations: 11.89 MB / 0.6547 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.61, allocations: 57.81 kB / 0.6548 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.6128, allocations: 0.5832 MB / 0.6553 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.6195, allocations: 1.819 MB / 0.6571 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.6232, allocations: 1.097 MB / 0.6582 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.6281, allocations: 3.099 MB / 0.6612 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.6306, allocations: 1.1 MB / 0.6623 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/0.6348, allocations: 1.333 MB / 0.6636 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.6373, allocations: 0.9265 MB / 0.6645 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005746/0.6379, allocations: 119.5 kB / 0.6646 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.6422, allocations: 1.449 MB / 0.666 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007003/0.6429, allocations: 299.1 kB / 0.6663 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.6452, allocations: 0.6932 MB / 0.667 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005778/0.651, allocations: 2.294 MB / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.651, allocations: 0 / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.926e-06/0.651, allocations: 0 / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.627e-05/0.6511, allocations: 0 / 0.6692 GB, free: 1.77 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.006273/0.6574, allocations: 1.736 MB / 0.6709 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6574, allocations: 10.25 kB / 0.6709 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.6601, allocations: 410.4 kB / 0.6713 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.663, allocations: 1.123 MB / 0.6724 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.6635, allocations: 119 kB / 0.6725 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.6637, allocations: 82.41 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.6663, allocations: 0.9758 MB / 0.6736 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.6663, allocations: 5.125 kB / 0.6736 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.6664, allocations: 36.64 kB / 0.6736 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.6664, allocations: 17.84 kB / 0.6736 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.669, allocations: 0.852 MB / 0.6744 GB, free: 14.96 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.008536/0.6775, allocations: 4.845 MB / 0.6792 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.6812, allocations: 0.795 MB / 0.68 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.682, allocations: 299.1 kB / 0.6802 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/0.6828, allocations: 0.9005 MB / 0.6811 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6829, allocations: 41.91 kB / 0.6812 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.6829, allocations: 4 kB / 0.6812 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007942/0.6908, allocations: 1.748 MB / 0.6829 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.6909, allocations: 60.06 kB / 0.6829 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.6939, allocations: 1.053 MB / 0.684 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.6941, allocations: 38.08 kB / 0.684 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/0.6949, allocations: 0.518 MB / 0.6845 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.6951, allocations: 151.3 kB / 0.6846 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.6955, allocations: 133.8 kB / 0.6848 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6957, allocations: 329.7 kB / 0.6851 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.6969, allocations: 303.2 kB / 0.6854 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.6982, allocations: 0.5044 MB / 0.6859 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.7001, allocations: 0.6806 MB / 0.6865 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.7001, allocations: 1.062 kB / 0.6865 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004534/0.7046, allocations: 1.126 MB / 0.6876 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.7047, allocations: 7.344 kB / 0.6876 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.7047, allocations: 5.625 kB / 0.6876 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.7063, allocations: 320.5 kB / 0.6879 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.7069, allocations: 115.1 kB / 0.6881 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.7088, allocations: 0.9121 MB / 0.6889 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.7107, allocations: 174.4 kB / 0.6891 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.7109, allocations: 29.91 kB / 0.6891 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001463/0.7123, allocations: 0.5075 MB / 0.6896 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001198/0.7135, allocations: 0.4932 MB / 0.6901 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001886/0.7154, allocations: 0.6771 MB / 0.6908 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/0.7155, allocations: 1.312 kB / 0.6908 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.004412/0.7199, allocations: 1.106 MB / 0.6919 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7199, allocations: 10.25 kB / 0.6919 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.7199, allocations: 8.828 kB / 0.6919 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.7213, allocations: 308.5 kB / 0.6922 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.7219, allocations: 118.1 kB / 0.6923 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.7234, allocations: 0.9137 MB / 0.6932 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.7254, allocations: 158.7 kB / 0.6933 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.7255, allocations: 28.36 kB / 0.6934 GB, free: 3.867 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.0003893/0.7259, allocations: 219.9 kB / 0.6936 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.7263, allocations: 113 kB / 0.6937 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.729, allocations: 0.926 MB / 0.6946 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.729, allocations: 10.03 kB / 0.6946 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.729, allocations: 3.938 kB / 0.6946 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.729, allocations: 4.094 kB / 0.6946 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/0.7351, allocations: 2.146 MB / 0.6967 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.7351, allocations: 6.5 kB / 0.6967 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.7354, allocations: 62.5 kB / 0.6968 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.7364, allocations: 308.6 kB / 0.6971 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.7365, allocations: 16.3 kB / 0.6971 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.7381, allocations: 0.9472 MB / 0.698 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7381, allocations: 3.75 kB / 0.698 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.7418, allocations: 1.162 MB / 0.6991 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.7425, allocations: 264.8 kB / 0.6994 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.7428, allocations: 11.91 kB / 0.6994 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.7438, allocations: 93.8 kB / 0.6995 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.744, allocations: 45.19 kB / 0.6995 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/0.744, allocations: 24.59 kB / 0.6995 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001426/0.7455, allocations: 0.7405 MB / 0.7003 GB, free: 396 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7455, allocations: 0 / 0.7003 GB, free: 396 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0021/0.7476, allocations: 0.5562 MB / 0.7008 GB, free: 280 kB / 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.0009501/0.7485, allocations: 371 kB / 0.7012 GB, free: 96 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003307/0.7519, allocations: 1.118 MB / 0.7023 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7519, allocations: 1.281 kB / 0.7023 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.7528, allocations: 352 kB / 0.7026 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.7553, allocations: 0.5057 MB / 0.7031 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.7615, allocations: 2.432 MB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009025/0.7625, allocations: 1.065 MB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001337/0.7638, allocations: 223.5 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.7641, allocations: 71.8 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of SimCode: time 1.293e-06/0.7641, allocations: 0 / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.04936/0.8135, allocations: 24.45 MB / 0.7307 GB, free: 6.168 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)