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.001048/0.001048, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001296/0.001296, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9809/0.9809, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.369/0.5384, allocations: 60.68 MB / 0.6431 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.5533, allocations: 11.9 MB / 0.6547 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.5559, allocations: 55.69 kB / 0.6548 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.5579, allocations: 0.582 MB / 0.6554 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.563, allocations: 1.833 MB / 0.6572 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.5657, allocations: 1.084 MB / 0.6582 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00378/0.5694, allocations: 3.105 MB / 0.6613 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.571, allocations: 1.125 MB / 0.6624 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.5744, allocations: 1.329 MB / 0.6636 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.5759, allocations: 0.9441 MB / 0.6646 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.5761, allocations: 119.3 kB / 0.6647 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.5795, allocations: 1.462 MB / 0.6661 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.5799, allocations: 300.8 kB / 0.6664 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.5808, allocations: 0.7046 MB / 0.6671 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004812/0.5856, allocations: 2.317 MB / 0.6693 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5856, allocations: 1.906 kB / 0.6694 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.046e-06/0.5856, allocations: 0 / 0.6694 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.5857, allocations: 3.938 kB / 0.6694 GB, free: 1.699 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.004299/0.59, allocations: 1.739 MB / 0.6711 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.59, allocations: 13.72 kB / 0.6711 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.5927, allocations: 454 kB / 0.6715 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.5952, allocations: 1.14 MB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.5956, allocations: 117.5 kB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5958, allocations: 83.84 kB / 0.6728 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.5983, allocations: 1.003 MB / 0.6738 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.5983, allocations: 5.734 kB / 0.6738 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.509e-05/0.5984, allocations: 34.06 kB / 0.6738 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.5984, allocations: 19.91 kB / 0.6738 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.6012, allocations: 0.9389 MB / 0.6748 GB, free: 14.88 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.008242/0.6095, allocations: 4.668 MB / 0.6793 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.614, allocations: 1.003 MB / 0.6803 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.6152, allocations: 412.2 kB / 0.6807 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.6166, allocations: 1.015 MB / 0.6817 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.25e-05/0.6167, allocations: 41.75 kB / 0.6817 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.657e-06/0.6167, allocations: 1.375 kB / 0.6817 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008372/0.6251, allocations: 1.947 MB / 0.6836 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.6251, allocations: 61.09 kB / 0.6837 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.6267, allocations: 0.946 MB / 0.6846 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.15e-05/0.6268, allocations: 36.14 kB / 0.6846 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.6274, allocations: 0.5063 MB / 0.6851 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6276, allocations: 183.2 kB / 0.6853 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.6279, allocations: 130.2 kB / 0.6854 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00027/0.6282, allocations: 326.1 kB / 0.6857 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.6293, allocations: 359.9 kB / 0.6861 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.6306, allocations: 0.5057 MB / 0.6866 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.6327, allocations: 0.7605 MB / 0.6873 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6327, allocations: 1.531 kB / 0.6873 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003226/0.6359, allocations: 1.07 MB / 0.6884 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.636, allocations: 11.34 kB / 0.6884 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.636, allocations: 5.781 kB / 0.6884 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.6375, allocations: 321.5 kB / 0.6887 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.6382, allocations: 129 kB / 0.6888 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.6398, allocations: 0.9115 MB / 0.6897 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6414, allocations: 155.2 kB / 0.6899 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.6415, allocations: 32.42 kB / 0.6899 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001554/0.643, allocations: 0.5549 MB / 0.6904 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00122/0.6443, allocations: 0.5084 MB / 0.6909 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002176/0.6464, allocations: 0.761 MB / 0.6917 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.6465, allocations: 0.625 kB / 0.6917 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003189/0.6497, allocations: 1.055 MB / 0.6927 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6497, allocations: 6.812 kB / 0.6927 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6497, allocations: 2.688 kB / 0.6927 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.6509, allocations: 307.6 kB / 0.693 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.6516, allocations: 131.4 kB / 0.6931 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.6531, allocations: 0.9106 MB / 0.694 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.6547, allocations: 148.5 kB / 0.6942 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.083e-05/0.6548, allocations: 28.23 kB / 0.6942 GB, free: 3.84 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.0003095/0.6551, allocations: 217.2 kB / 0.6944 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.6553, allocations: 113.6 kB / 0.6945 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.6587, allocations: 1.151 MB / 0.6956 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.6587, allocations: 6.406 kB / 0.6956 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6587, allocations: 1.188 kB / 0.6956 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6588, allocations: 3 kB / 0.6956 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/0.664, allocations: 2.262 MB / 0.6978 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.664, allocations: 1.5 kB / 0.6978 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.6646, allocations: 106.3 kB / 0.6979 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.6657, allocations: 296.1 kB / 0.6982 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.6658, allocations: 21.56 kB / 0.6982 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.6673, allocations: 0.9449 MB / 0.6992 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.6673, allocations: 1.344 kB / 0.6992 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.6714, allocations: 1.319 MB / 0.7005 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/0.6723, allocations: 278.2 kB / 0.7007 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.6724, allocations: 13.31 kB / 0.7007 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009783/0.6734, allocations: 114.4 kB / 0.7008 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6736, allocations: 42.91 kB / 0.7009 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.6736, allocations: 25.12 kB / 0.7009 GB, free: 500 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00114/0.6748, allocations: 0.6677 MB / 0.7016 GB, free: 104 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6748, allocations: 0 / 0.7016 GB, free: 104 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002018/0.6768, allocations: 0.5665 MB / 0.7021 GB, free: 15.98 MB / 0.5294 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.001049/0.6779, allocations: 375.5 kB / 0.7025 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00454/0.6824, allocations: 1.342 MB / 0.7038 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.6825, allocations: 3.938 kB / 0.7038 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.6837, allocations: 460.3 kB / 0.7042 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.6865, allocations: 0.4916 MB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.6914, allocations: 2.308 MB / 0.707 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.6922, allocations: 1.07 MB / 0.708 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001205/0.6934, allocations: 235.9 kB / 0.7082 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.6936, allocations: 91.19 kB / 0.7083 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of SimCode: time 1.113e-06/0.6936, allocations: 0 / 0.7083 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.04295/0.7366, allocations: 24.37 MB / 0.7321 GB, free: 4.801 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)