Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.00139/0.00139, allocations: 107 kB / 16.41 MB, free: 6.395 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.001184/0.001184, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7759/0.7759, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 59.44 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06287/0.2088, allocations: 61.19 MB / 0.7201 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01874/0.2276, allocations: 11.99 MB / 0.7318 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.2303, allocations: 59.62 kB / 0.7318 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.233, allocations: 0.6791 MB / 0.7325 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.2398, allocations: 1.963 MB / 0.7344 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.2435, allocations: 1.206 MB / 0.7356 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004969/0.2485, allocations: 3.087 MB / 0.7386 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2506, allocations: 1.124 MB / 0.7397 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.2544, allocations: 1.367 MB / 0.741 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.2566, allocations: 0.914 MB / 0.7419 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004079/0.257, allocations: 116 kB / 0.742 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.2604, allocations: 1.45 MB / 0.7435 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.2609, allocations: 306.8 kB / 0.7438 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.2622, allocations: 0.6997 MB / 0.7444 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.2667, allocations: 2.341 MB / 0.7467 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2668, allocations: 0 / 0.7467 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2668, allocations: 0 / 0.7467 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.623e-05/0.2668, allocations: 0 / 0.7467 GB, free: 1.496 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.3342/0.601, allocations: 1.741 MB / 0.7484 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.6011, allocations: 9.281 kB / 0.7484 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.6039, allocations: 458.7 kB / 0.7489 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.6064, allocations: 1.167 MB / 0.75 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/0.6065, allocations: 64.09 kB / 0.7501 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.6066, allocations: 79.94 kB / 0.7502 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.609, allocations: 1.004 MB / 0.7511 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.609, allocations: 4.5 kB / 0.7511 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.6091, allocations: 32.36 kB / 0.7512 GB, free: 85.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.6092, allocations: 19.53 kB / 0.7512 GB, free: 85.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.6117, allocations: 0.9315 MB / 0.7521 GB, free: 85.38 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.006734/0.6184, allocations: 4.651 MB / 0.7566 GB, free: 82.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/0.6232, allocations: 0.9926 MB / 0.7576 GB, free: 81.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.6245, allocations: 405.9 kB / 0.758 GB, free: 81.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009852/0.6255, allocations: 1.019 MB / 0.759 GB, free: 80.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6256, allocations: 38.28 kB / 0.759 GB, free: 80.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.6256, allocations: 2.125 kB / 0.759 GB, free: 80.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.00901/0.6346, allocations: 1.911 MB / 0.7609 GB, free: 79.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6347, allocations: 57.5 kB / 0.7609 GB, free: 79.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.6365, allocations: 0.9474 MB / 0.7619 GB, free: 79.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.6366, allocations: 39.02 kB / 0.7619 GB, free: 79.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.6371, allocations: 0.5073 MB / 0.7624 GB, free: 79.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.6373, allocations: 185.8 kB / 0.7626 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.6375, allocations: 129.1 kB / 0.7627 GB, free: 78.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.6376, allocations: 329.9 kB / 0.763 GB, free: 78.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.6387, allocations: 354.7 kB / 0.7634 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.6399, allocations: 0.5033 MB / 0.7639 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.6419, allocations: 0.754 MB / 0.7646 GB, free: 77.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.642, allocations: 1.344 kB / 0.7646 GB, free: 77.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003136/0.6451, allocations: 1.051 MB / 0.7656 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6451, allocations: 5.406 kB / 0.7656 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6452, allocations: 4.031 kB / 0.7656 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.6464, allocations: 307.9 kB / 0.7659 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.6471, allocations: 132 kB / 0.766 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.6485, allocations: 0.8994 MB / 0.7669 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.6497, allocations: 120.1 kB / 0.767 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6498, allocations: 27.92 kB / 0.7671 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001502/0.6513, allocations: 0.5524 MB / 0.7676 GB, free: 76.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001113/0.6524, allocations: 0.5041 MB / 0.7681 GB, free: 76.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001922/0.6543, allocations: 0.7474 MB / 0.7688 GB, free: 75.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.6544, allocations: 0 / 0.7688 GB, free: 75.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002942/0.6573, allocations: 1.041 MB / 0.7698 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6573, allocations: 8.531 kB / 0.7698 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6574, allocations: 2.469 kB / 0.7699 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.6584, allocations: 298.7 kB / 0.7701 GB, free: 75.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.6591, allocations: 133.1 kB / 0.7703 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.6603, allocations: 0.8885 MB / 0.7711 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.6614, allocations: 113.9 kB / 0.7712 GB, free: 74.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.6615, allocations: 26.98 kB / 0.7713 GB, free: 74.32 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.0002257/0.6617, allocations: 222.3 kB / 0.7715 GB, free: 74.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.662, allocations: 106.7 kB / 0.7716 GB, free: 74.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.6651, allocations: 1.146 MB / 0.7727 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.6651, allocations: 5.438 kB / 0.7727 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6651, allocations: 5.266 kB / 0.7727 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6651, allocations: 0 / 0.7727 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.6695, allocations: 2.25 MB / 0.7749 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6695, allocations: 2.969 kB / 0.7749 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.6701, allocations: 104.2 kB / 0.775 GB, free: 71.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009379/0.671, allocations: 290.4 kB / 0.7753 GB, free: 71.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.6711, allocations: 14.8 kB / 0.7753 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.6723, allocations: 0.933 MB / 0.7762 GB, free: 70.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6724, allocations: 1.344 kB / 0.7762 GB, free: 70.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.6758, allocations: 1.29 MB / 0.7775 GB, free: 70.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.6763, allocations: 277.2 kB / 0.7777 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.6765, allocations: 12.06 kB / 0.7777 GB, free: 69.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/0.6775, allocations: 76.31 kB / 0.7778 GB, free: 69.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.6776, allocations: 41.14 kB / 0.7779 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.6777, allocations: 28.81 kB / 0.7779 GB, free: 69.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009735/0.6786, allocations: 0.6683 MB / 0.7785 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6786, allocations: 5.219 kB / 0.7785 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001607/0.6803, allocations: 0.572 MB / 0.7791 GB, free: 69.43 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.0008227/0.6811, allocations: 384 kB / 0.7795 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.6848, allocations: 1.303 MB / 0.7807 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.6848, allocations: 1.375 kB / 0.7807 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.686, allocations: 459.7 kB / 0.7812 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.6884, allocations: 499.5 kB / 0.7817 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.6919, allocations: 1.921 MB / 0.7835 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.6924, allocations: 1.063 MB / 0.7846 GB, free: 66.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6927, allocations: 86.69 kB / 0.7847 GB, free: 66.18 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.6927, allocations: 7.938 kB / 0.7847 GB, free: 66.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.02494/0.7176, allocations: 24.13 MB / 0.8082 GB, free: 42.64 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)