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.001182/0.001182, allocations: 100.2 kB / 16.41 MB, free: 6.008 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.001272/0.001272, allocations: 189.8 kB / 17.34 MB, free: 5.629 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8749/0.8749, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 66.52 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.174, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07721/0.2513, allocations: 61.18 MB / 0.725 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.2728, allocations: 11.99 MB / 0.7367 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.2751, allocations: 59.62 kB / 0.7368 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2775, allocations: 0.6791 MB / 0.7375 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006013/0.2835, allocations: 1.963 MB / 0.7394 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.2869, allocations: 1.204 MB / 0.7406 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004743/0.2917, allocations: 3.09 MB / 0.7436 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.2938, allocations: 1.12 MB / 0.7447 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.2975, allocations: 1.363 MB / 0.746 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.2995, allocations: 0.9257 MB / 0.7469 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004509/0.3, allocations: 120 kB / 0.747 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.3035, allocations: 1.45 MB / 0.7484 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.3041, allocations: 298.8 kB / 0.7487 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3694/0.6734, allocations: 0.7016 MB / 0.7494 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005538/0.679, allocations: 2.331 MB / 0.7517 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6791, allocations: 3.438 kB / 0.7517 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6791, allocations: 1.375 kB / 0.7517 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.969e-05/0.6791, allocations: 1.094 kB / 0.7517 GB, free: 23.2 MB / 0.5762 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.004456/0.6836, allocations: 1.744 MB / 0.7534 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6837, allocations: 10.11 kB / 0.7534 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.6865, allocations: 459.5 kB / 0.7538 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.6893, allocations: 1.175 MB / 0.755 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.6894, allocations: 62.75 kB / 0.755 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.6896, allocations: 79.62 kB / 0.7551 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.692, allocations: 1.001 MB / 0.7561 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6921, allocations: 1.125 kB / 0.7561 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.6922, allocations: 30 kB / 0.7561 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.6922, allocations: 20.38 kB / 0.7561 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.695, allocations: 0.9344 MB / 0.7571 GB, free: 21.74 MB / 0.5762 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.007715/0.7027, allocations: 4.653 MB / 0.7616 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004621/0.7074, allocations: 0.9875 MB / 0.7626 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.7085, allocations: 409.5 kB / 0.763 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/0.7095, allocations: 1.02 MB / 0.764 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.7095, allocations: 41.59 kB / 0.764 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.7095, allocations: 0 / 0.764 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008349/0.7179, allocations: 1.9 MB / 0.7658 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.718, allocations: 57.31 kB / 0.7659 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.7196, allocations: 0.954 MB / 0.7668 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.7197, allocations: 36.27 kB / 0.7669 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.7201, allocations: 0.5072 MB / 0.7674 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.7203, allocations: 180.9 kB / 0.7675 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.7205, allocations: 138.3 kB / 0.7677 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.7206, allocations: 327.3 kB / 0.768 GB, free: 17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.7217, allocations: 347.8 kB / 0.7683 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.7228, allocations: 0.508 MB / 0.7688 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.725, allocations: 0.7526 MB / 0.7695 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.725, allocations: 1.219 kB / 0.7695 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003146/0.7282, allocations: 1.055 MB / 0.7706 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.7282, allocations: 6.469 kB / 0.7706 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7283, allocations: 1.312 kB / 0.7706 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.7295, allocations: 304 kB / 0.7709 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.7302, allocations: 133.6 kB / 0.771 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.7316, allocations: 0.8981 MB / 0.7719 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.7328, allocations: 119.9 kB / 0.772 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.7329, allocations: 35.22 kB / 0.772 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001478/0.7344, allocations: 0.5514 MB / 0.7726 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001109/0.7355, allocations: 0.5015 MB / 0.7731 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001952/0.7375, allocations: 0.7453 MB / 0.7738 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.7375, allocations: 0 / 0.7738 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002992/0.7405, allocations: 1.048 MB / 0.7748 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7405, allocations: 9.297 kB / 0.7748 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7406, allocations: 6.219 kB / 0.7748 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.7417, allocations: 290.1 kB / 0.7751 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.7423, allocations: 131.9 kB / 0.7752 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.7437, allocations: 0.8902 MB / 0.7761 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7449, allocations: 114.1 kB / 0.7762 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/0.745, allocations: 29.52 kB / 0.7762 GB, free: 14.9 MB / 0.5762 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.0002603/0.7453, allocations: 217.7 kB / 0.7764 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.7455, allocations: 110.2 kB / 0.7765 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.7487, allocations: 1.139 MB / 0.7777 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.7487, allocations: 13.58 kB / 0.7777 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7488, allocations: 0 / 0.7777 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.7488, allocations: 0 / 0.7777 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.7535, allocations: 2.255 MB / 0.7799 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.7536, allocations: 5.375 kB / 0.7799 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.7541, allocations: 105.8 kB / 0.78 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009817/0.7551, allocations: 292.8 kB / 0.7803 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.7552, allocations: 15.56 kB / 0.7803 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.7565, allocations: 0.9272 MB / 0.7812 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.7565, allocations: 5.75 kB / 0.7812 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.7602, allocations: 1.293 MB / 0.7824 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/0.7608, allocations: 288.4 kB / 0.7827 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.761, allocations: 10.53 kB / 0.7827 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008482/0.7618, allocations: 75.77 kB / 0.7828 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.7619, allocations: 33.78 kB / 0.7828 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.762, allocations: 29.06 kB / 0.7829 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009751/0.763, allocations: 0.6709 MB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.763, allocations: 0 / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001784/0.7648, allocations: 0.5679 MB / 0.7841 GB, free: 12.92 MB / 0.5762 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.0008902/0.7657, allocations: 390.5 kB / 0.7844 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003705/0.7694, allocations: 1.295 MB / 0.7857 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7694, allocations: 2.625 kB / 0.7857 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.7706, allocations: 462 kB / 0.7862 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.7729, allocations: 490 kB / 0.7866 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.7767, allocations: 1.917 MB / 0.7885 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.7772, allocations: 1.071 MB / 0.7895 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.7776, allocations: 84.83 kB / 0.7896 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.133e-06/0.7776, allocations: 0 / 0.7896 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.02977/0.8074, allocations: 24.29 MB / 0.8133 GB, free: 11.63 MB / 0.5919 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)