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.001328/0.001328, allocations: 104.1 kB / 16.41 MB, free: 6.5 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.001343/0.001343, allocations: 192.2 kB / 17.34 MB, free: 5.734 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8817/0.8817, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.09 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1618, allocations: 80.93 MB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0675/0.2292, allocations: 61.29 MB / 0.7252 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.2475, allocations: 12 MB / 0.7369 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.2496, allocations: 55.69 kB / 0.737 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.2518, allocations: 0.7103 MB / 0.7377 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.2575, allocations: 2.063 MB / 0.7397 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.2606, allocations: 1.215 MB / 0.7409 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004802/0.2655, allocations: 3.087 MB / 0.7439 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.2672, allocations: 0.9246 MB / 0.7448 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.2706, allocations: 1.363 MB / 0.7461 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.2724, allocations: 0.9179 MB / 0.747 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.2726, allocations: 120 kB / 0.7471 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.2756, allocations: 1.45 MB / 0.7486 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3096/0.5853, allocations: 309.5 kB / 0.7488 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.5866, allocations: 0.6974 MB / 0.7495 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.5915, allocations: 2.35 MB / 0.7518 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5915, allocations: 1.5 kB / 0.7518 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5915, allocations: 3.281 kB / 0.7518 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.375e-05/0.5916, allocations: 1.312 kB / 0.7518 GB, free: 22.96 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.003976/0.5955, allocations: 1.786 MB / 0.7536 GB, free: 22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5956, allocations: 11.55 kB / 0.7536 GB, free: 22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.5982, allocations: 466.4 kB / 0.754 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.6007, allocations: 1.185 MB / 0.7552 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.6008, allocations: 61.66 kB / 0.7552 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6009, allocations: 85.56 kB / 0.7553 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.6031, allocations: 0.9962 MB / 0.7563 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6032, allocations: 1.406 kB / 0.7563 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.6032, allocations: 31.31 kB / 0.7563 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.6033, allocations: 21.59 kB / 0.7564 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.6059, allocations: 0.9311 MB / 0.7573 GB, free: 21.39 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.006569/0.6125, allocations: 4.665 MB / 0.7618 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.6167, allocations: 0.954 MB / 0.7627 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.6177, allocations: 387.5 kB / 0.7631 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/0.6185, allocations: 1.017 MB / 0.7641 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6185, allocations: 41.28 kB / 0.7642 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.6185, allocations: 4.781 kB / 0.7642 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007809/0.6263, allocations: 1.904 MB / 0.766 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.6263, allocations: 57.62 kB / 0.7661 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.6277, allocations: 0.9508 MB / 0.767 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.6278, allocations: 36.33 kB / 0.767 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.6281, allocations: 0.5131 MB / 0.7675 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6283, allocations: 196.8 kB / 0.7677 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.6285, allocations: 133 kB / 0.7678 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.6286, allocations: 324.8 kB / 0.7682 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.6296, allocations: 359.4 kB / 0.7685 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.6308, allocations: 0.5051 MB / 0.769 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.6328, allocations: 0.7531 MB / 0.7697 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.6328, allocations: 0.75 kB / 0.7697 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002929/0.6357, allocations: 1.052 MB / 0.7708 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6357, allocations: 7.281 kB / 0.7708 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6358, allocations: 2.219 kB / 0.7708 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.6369, allocations: 309.2 kB / 0.7711 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.6375, allocations: 137.3 kB / 0.7712 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.6388, allocations: 0.8879 MB / 0.7721 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6399, allocations: 128.8 kB / 0.7722 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.64, allocations: 33.48 kB / 0.7722 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/0.6414, allocations: 0.5465 MB / 0.7727 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/0.6425, allocations: 0.5026 MB / 0.7732 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001869/0.6443, allocations: 0.7406 MB / 0.774 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.6443, allocations: 4 kB / 0.774 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002889/0.6472, allocations: 1.048 MB / 0.775 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6472, allocations: 6.656 kB / 0.775 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6472, allocations: 2.344 kB / 0.775 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.6483, allocations: 296.2 kB / 0.7753 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.6489, allocations: 133.2 kB / 0.7754 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.6501, allocations: 0.8888 MB / 0.7763 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6513, allocations: 110 kB / 0.7764 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.6514, allocations: 29.16 kB / 0.7764 GB, free: 14.52 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.0002277/0.6516, allocations: 219.1 kB / 0.7766 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.6518, allocations: 111.8 kB / 0.7767 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.6548, allocations: 1.142 MB / 0.7778 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.6549, allocations: 9.172 kB / 0.7778 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6549, allocations: 0.6562 kB / 0.7778 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6549, allocations: 2.906 kB / 0.7779 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.6593, allocations: 2.243 MB / 0.78 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.6593, allocations: 2.375 kB / 0.78 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.6598, allocations: 107.1 kB / 0.7801 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009345/0.6608, allocations: 297 kB / 0.7804 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.6608, allocations: 21.34 kB / 0.7805 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.6621, allocations: 0.9249 MB / 0.7814 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6621, allocations: 1.312 kB / 0.7814 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.6656, allocations: 1.295 MB / 0.7826 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.6661, allocations: 279.9 kB / 0.7829 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.6663, allocations: 13.72 kB / 0.7829 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/0.6671, allocations: 80.45 kB / 0.783 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.6671, allocations: 32.72 kB / 0.783 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.6672, allocations: 28.12 kB / 0.783 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008535/0.6681, allocations: 0.6674 MB / 0.7837 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6681, allocations: 4 kB / 0.7837 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001627/0.6697, allocations: 0.5821 MB / 0.7843 GB, free: 12.52 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.0007967/0.6705, allocations: 380.8 kB / 0.7846 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00368/0.6742, allocations: 1.25 MB / 0.7858 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6742, allocations: 0 / 0.7858 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6753, allocations: 434.6 kB / 0.7863 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.6776, allocations: 0.4963 MB / 0.7867 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.6809, allocations: 1.962 MB / 0.7887 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.6814, allocations: 1.066 MB / 0.7897 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.6817, allocations: 86.48 kB / 0.7898 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.6817, allocations: 0 / 0.7898 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.02851/0.7102, allocations: 24.21 MB / 0.8134 GB, free: 11.43 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)