Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 104.1 kB / 15.88 MB, free: 4 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.001741/0.001741, allocations: 196.1 kB / 16.79 MB, free: 6.832 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.316/1.316, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001365, allocations: 63.84 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1715, allocations: 80.93 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3855/0.557, allocations: 60.81 MB / 0.6437 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.5715, allocations: 12.05 MB / 0.6555 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.5743, allocations: 54 kB / 0.6555 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.5766, allocations: 0.5558 MB / 0.6561 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005451/0.5821, allocations: 1.8 MB / 0.6578 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.5852, allocations: 1.074 MB / 0.6589 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005084/0.5903, allocations: 3.908 MB / 0.6627 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.5923, allocations: 0.9379 MB / 0.6636 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.5954, allocations: 1.158 MB / 0.6648 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.5976, allocations: 0.9174 MB / 0.6657 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.5978, allocations: 59.28 kB / 0.6657 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.6014, allocations: 1.347 MB / 0.667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.6018, allocations: 242.6 kB / 0.6673 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.6031, allocations: 0.6378 MB / 0.6679 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.6063, allocations: 1.753 MB / 0.6696 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6063, allocations: 0 / 0.6696 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6063, allocations: 0 / 0.6696 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.6064, allocations: 0.9688 kB / 0.6696 GB, free: 2.383 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003897/0.6103, allocations: 1.739 MB / 0.6713 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6103, allocations: 9.891 kB / 0.6713 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.6131, allocations: 458.3 kB / 0.6717 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.6156, allocations: 1.133 MB / 0.6728 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.616, allocations: 124.3 kB / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.6162, allocations: 78.44 kB / 0.673 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.6186, allocations: 1.007 MB / 0.674 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6187, allocations: 7.938 kB / 0.674 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.6187, allocations: 30.78 kB / 0.6741 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.6188, allocations: 20.64 kB / 0.6741 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.6215, allocations: 0.9382 MB / 0.675 GB, free: 15.56 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.008052/0.6296, allocations: 4.659 MB / 0.6795 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.6338, allocations: 1.002 MB / 0.6805 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.6351, allocations: 412.1 kB / 0.6809 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.6362, allocations: 1.019 MB / 0.6819 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6362, allocations: 37.75 kB / 0.6819 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/0.6363, allocations: 0 / 0.6819 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008259/0.6445, allocations: 1.951 MB / 0.6839 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.6446, allocations: 58.03 kB / 0.6839 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.6462, allocations: 0.9463 MB / 0.6848 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.6464, allocations: 39.44 kB / 0.6849 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.6468, allocations: 0.5078 MB / 0.6854 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.6471, allocations: 182.4 kB / 0.6855 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.6473, allocations: 133.3 kB / 0.6857 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6475, allocations: 329.8 kB / 0.686 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.6486, allocations: 356.7 kB / 0.6863 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.6499, allocations: 0.5103 MB / 0.6868 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.652, allocations: 0.7597 MB / 0.6876 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.652, allocations: 1.312 kB / 0.6876 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003343/0.6554, allocations: 1.066 MB / 0.6886 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.6554, allocations: 11.38 kB / 0.6886 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6554, allocations: 6.406 kB / 0.6886 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.6568, allocations: 309.1 kB / 0.6889 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.6576, allocations: 133 kB / 0.689 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.6593, allocations: 0.9126 MB / 0.6899 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.6608, allocations: 157.5 kB / 0.6901 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.6609, allocations: 28.66 kB / 0.6901 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001527/0.6625, allocations: 0.5589 MB / 0.6907 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/0.6638, allocations: 0.5043 MB / 0.6911 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002099/0.6659, allocations: 0.7545 MB / 0.6919 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.019e-06/0.6659, allocations: 4 kB / 0.6919 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003286/0.6692, allocations: 1.062 MB / 0.6929 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6692, allocations: 5.406 kB / 0.6929 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6692, allocations: 4.719 kB / 0.6929 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.6704, allocations: 299.3 kB / 0.6932 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.6711, allocations: 137.3 kB / 0.6934 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.6726, allocations: 0.9065 MB / 0.6942 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6741, allocations: 152.2 kB / 0.6944 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.6742, allocations: 31.12 kB / 0.6944 GB, free: 4.527 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0003371/0.6745, allocations: 214.5 kB / 0.6946 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.6748, allocations: 110 kB / 0.6947 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.6782, allocations: 1.159 MB / 0.6959 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.6782, allocations: 7.172 kB / 0.6959 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6782, allocations: 1.062 kB / 0.6959 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6782, allocations: 2.25 kB / 0.6959 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.6838, allocations: 2.258 MB / 0.6981 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6838, allocations: 5.219 kB / 0.6981 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.6844, allocations: 103.8 kB / 0.6982 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.6856, allocations: 302.2 kB / 0.6985 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.6857, allocations: 18.84 kB / 0.6985 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.6873, allocations: 0.9475 MB / 0.6994 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6873, allocations: 2.844 kB / 0.6994 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.6915, allocations: 1.327 MB / 0.7007 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/0.6924, allocations: 273.3 kB / 0.701 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/0.6928, allocations: 12.38 kB / 0.701 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6941, allocations: 116.2 kB / 0.7011 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6942, allocations: 41.55 kB / 0.7011 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.6943, allocations: 23.48 kB / 0.7011 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001382/0.6957, allocations: 0.6667 MB / 0.7018 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.4e-07/0.6957, allocations: 0 / 0.7018 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002505/0.6982, allocations: 0.5645 MB / 0.7024 GB, free: 420 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001217/0.6995, allocations: 379.2 kB / 0.7027 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004284/0.7038, allocations: 1.303 MB / 0.704 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.7038, allocations: 1.375 kB / 0.704 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.7052, allocations: 468 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.7086, allocations: 0.4885 MB / 0.7049 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.7136, allocations: 2.352 MB / 0.7072 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.7144, allocations: 1.065 MB / 0.7082 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.7149, allocations: 88.06 kB / 0.7083 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of SimCode: time 1.031e-06/0.7149, allocations: 3.938 kB / 0.7083 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.03766/0.7526, allocations: 24.01 MB / 0.7318 GB, free: 5.598 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)