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.0008432/0.0008431, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006023/0.006023, allocations: 170 kB / 16.27 MB, free: 6.648 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006079/0.0006079, allocations: 8.781 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2074, allocations: 82.31 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3939/0.6013, allocations: 59.73 MB / 0.6463 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.616, allocations: 11.9 MB / 0.6579 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.6184, allocations: 53.72 kB / 0.658 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.6202, allocations: 0.5481 MB / 0.6585 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.6257, allocations: 1.812 MB / 0.6603 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.6287, allocations: 1.065 MB / 0.6613 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005029/0.6337, allocations: 3.912 MB / 0.6651 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.6356, allocations: 0.9169 MB / 0.666 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.6384, allocations: 1.112 MB / 0.6671 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.6403, allocations: 0.8795 MB / 0.668 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.6405, allocations: 44.28 kB / 0.668 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.6439, allocations: 1.328 MB / 0.6693 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.6443, allocations: 212.2 kB / 0.6695 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.6455, allocations: 0.643 MB / 0.6701 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.6504, allocations: 2.216 MB / 0.6723 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6504, allocations: 0 / 0.6723 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.527e-06/0.6504, allocations: 0 / 0.6723 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.611e-05/0.6505, allocations: 0 / 0.6723 GB, free: 2.336 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.00391/0.6544, allocations: 1.497 MB / 0.6738 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6544, allocations: 12.5 kB / 0.6738 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.6575, allocations: 0.5177 MB / 0.6743 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.6603, allocations: 1.144 MB / 0.6754 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.6608, allocations: 124 kB / 0.6755 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.6609, allocations: 87.62 kB / 0.6756 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.6636, allocations: 1.029 MB / 0.6766 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/0.6636, allocations: 4.047 kB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/0.6637, allocations: 35.44 kB / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.6638, allocations: 19.25 kB / 0.6767 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.6672, allocations: 1 MB / 0.6776 GB, free: 15.65 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.008496/0.6757, allocations: 4.7 MB / 0.6822 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.6803, allocations: 1.131 MB / 0.6833 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.6816, allocations: 447.4 kB / 0.6838 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.6826, allocations: 1.025 MB / 0.6848 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.6827, allocations: 42.66 kB / 0.6848 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.946e-06/0.6827, allocations: 0 / 0.6848 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008795/0.6915, allocations: 2.157 MB / 0.6869 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.6916, allocations: 58.34 kB / 0.687 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.6932, allocations: 0.9434 MB / 0.6879 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.6933, allocations: 37.36 kB / 0.6879 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/0.6938, allocations: 0.5042 MB / 0.6884 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.694, allocations: 183.8 kB / 0.6886 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.6941, allocations: 52.19 kB / 0.6886 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6942, allocations: 326.3 kB / 0.6889 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.6954, allocations: 384.2 kB / 0.6893 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.6967, allocations: 0.541 MB / 0.6898 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.699, allocations: 0.8168 MB / 0.6906 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.699, allocations: 1.281 kB / 0.6906 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00345/0.7025, allocations: 1.136 MB / 0.6917 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.7026, allocations: 167.1 kB / 0.6919 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7026, allocations: 2.75 kB / 0.6919 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.7043, allocations: 328 kB / 0.6922 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/0.7051, allocations: 147.2 kB / 0.6924 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.7069, allocations: 0.9342 MB / 0.6933 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.7086, allocations: 178 kB / 0.6934 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.7087, allocations: 31.66 kB / 0.6935 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7087, allocations: 5.906 kB / 0.6935 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003109/0.7118, allocations: 1.005 MB / 0.6945 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7119, allocations: 2.625 kB / 0.6945 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.7131, allocations: 314.4 kB / 0.6948 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.7138, allocations: 141.2 kB / 0.6949 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.7154, allocations: 0.9378 MB / 0.6958 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7171, allocations: 171.9 kB / 0.696 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.7172, allocations: 28.95 kB / 0.696 GB, free: 5.332 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.0008413/0.718, allocations: 351 kB / 0.6963 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.7183, allocations: 110.9 kB / 0.6964 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.7218, allocations: 1.236 MB / 0.6977 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.7219, allocations: 13.72 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.7219, allocations: 1.062 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.7219, allocations: 3.234 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.727, allocations: 2.32 MB / 0.6999 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.727, allocations: 4.875 kB / 0.6999 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.7276, allocations: 113.2 kB / 0.7 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.7288, allocations: 318.1 kB / 0.7004 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.7289, allocations: 21.64 kB / 0.7004 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.7306, allocations: 0.9664 MB / 0.7013 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7306, allocations: 2.062 kB / 0.7013 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.7347, allocations: 1.401 MB / 0.7027 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.7355, allocations: 290.2 kB / 0.703 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7356, allocations: 16.8 kB / 0.703 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7367, allocations: 124.2 kB / 0.7031 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.7368, allocations: 42.59 kB / 0.7031 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.7369, allocations: 24.02 kB / 0.7032 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001098/0.738, allocations: 0.6705 MB / 0.7038 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.738, allocations: 0 / 0.7038 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001815/0.7398, allocations: 0.5647 MB / 0.7044 GB, free: 1.105 MB / 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.0009216/0.7407, allocations: 401 kB / 0.7048 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004107/0.7448, allocations: 1.398 MB / 0.7061 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7449, allocations: 7.938 kB / 0.7061 GB, free: 260 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.7461, allocations: 487 kB / 0.7066 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.7493, allocations: 0.4944 MB / 0.7071 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.7541, allocations: 2.377 MB / 0.7094 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.755, allocations: 1.068 MB / 0.7104 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001262/0.7562, allocations: 229.6 kB / 0.7107 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.7565, allocations: 85.66 kB / 0.7107 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of SimCode: time 1.183e-06/0.7565, allocations: 0 / 0.7107 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of Templates: time 0.04176/0.7983, allocations: 23.57 MB / 0.7338 GB, free: 6.203 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)