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.001762/0.001762, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001887, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.999/0.999, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 73.11 kB / 0.5053 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1827, allocations: 80.92 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3267/0.5095, allocations: 61.17 MB / 0.6441 GB, free: 17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.5226, allocations: 11.99 MB / 0.6558 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.5247, allocations: 61.34 kB / 0.6559 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5262, allocations: 0.6779 MB / 0.6565 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.5307, allocations: 1.971 MB / 0.6585 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.5335, allocations: 1.19 MB / 0.6596 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003681/0.5372, allocations: 3.079 MB / 0.6626 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.5391, allocations: 1.126 MB / 0.6637 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.5425, allocations: 1.321 MB / 0.665 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.544, allocations: 0.9172 MB / 0.6659 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.5442, allocations: 119.8 kB / 0.666 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5474, allocations: 1.446 MB / 0.6674 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.5478, allocations: 299.1 kB / 0.6677 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000972/0.5488, allocations: 0.6986 MB / 0.6684 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.5528, allocations: 2.312 MB / 0.6707 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5529, allocations: 0 / 0.6707 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5529, allocations: 0 / 0.6707 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.5529, allocations: 0 / 0.6707 GB, free: 0.957 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.003301/0.5562, allocations: 1.752 MB / 0.6724 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5563, allocations: 9.531 kB / 0.6724 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.5589, allocations: 457.8 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.5612, allocations: 1.115 MB / 0.6739 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.5615, allocations: 118.9 kB / 0.674 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5617, allocations: 80 kB / 0.6741 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.564, allocations: 1.006 MB / 0.6751 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.564, allocations: 5.781 kB / 0.6751 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.5641, allocations: 30.91 kB / 0.6751 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5642, allocations: 19.34 kB / 0.6751 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.5669, allocations: 0.9419 MB / 0.676 GB, free: 14.14 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.00705/0.5739, allocations: 4.696 MB / 0.6806 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.5782, allocations: 1.011 MB / 0.6816 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.5794, allocations: 413.2 kB / 0.682 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/0.5803, allocations: 1.017 MB / 0.683 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5804, allocations: 36.5 kB / 0.683 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.5804, allocations: 4 kB / 0.683 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008081/0.5885, allocations: 1.947 MB / 0.6849 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5885, allocations: 58.06 kB / 0.685 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.5899, allocations: 0.9553 MB / 0.6859 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/0.59, allocations: 39.02 kB / 0.686 GB, free: 8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.5904, allocations: 0.5109 MB / 0.6865 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.5906, allocations: 183.1 kB / 0.6866 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.5908, allocations: 125 kB / 0.6868 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.591, allocations: 330.2 kB / 0.6871 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5921, allocations: 355.8 kB / 0.6874 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.5933, allocations: 0.5141 MB / 0.6879 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.5955, allocations: 0.7572 MB / 0.6887 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5956, allocations: 1.125 kB / 0.6887 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003202/0.5988, allocations: 1.066 MB / 0.6897 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5988, allocations: 10.42 kB / 0.6897 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5988, allocations: 3.25 kB / 0.6897 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.6002, allocations: 315.7 kB / 0.69 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.6009, allocations: 132.2 kB / 0.6901 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.6026, allocations: 0.9112 MB / 0.691 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6041, allocations: 130.6 kB / 0.6912 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.6042, allocations: 28.77 kB / 0.6912 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001568/0.6058, allocations: 0.5582 MB / 0.6917 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001257/0.6071, allocations: 0.5146 MB / 0.6922 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002153/0.6093, allocations: 0.7587 MB / 0.693 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.6093, allocations: 1.438 kB / 0.693 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003201/0.6125, allocations: 1.055 MB / 0.694 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6125, allocations: 6.312 kB / 0.694 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6125, allocations: 2.312 kB / 0.694 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.6137, allocations: 306 kB / 0.6943 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.6143, allocations: 127.4 kB / 0.6944 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.6159, allocations: 0.909 MB / 0.6953 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6171, allocations: 109.8 kB / 0.6954 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.6172, allocations: 32.98 kB / 0.6955 GB, free: 3.102 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.0002532/0.6175, allocations: 214.5 kB / 0.6957 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.6177, allocations: 115.8 kB / 0.6958 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/0.621, allocations: 1.156 MB / 0.6969 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.621, allocations: 6.125 kB / 0.6969 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6211, allocations: 1.125 kB / 0.6969 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6211, allocations: 3.375 kB / 0.6969 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/0.6258, allocations: 2.261 MB / 0.6991 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6259, allocations: 6.5 kB / 0.6991 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.6265, allocations: 109.5 kB / 0.6992 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.6275, allocations: 294 kB / 0.6995 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.6276, allocations: 18.45 kB / 0.6995 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.6292, allocations: 0.9411 MB / 0.7004 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6292, allocations: 5.312 kB / 0.7004 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.6333, allocations: 1.316 MB / 0.7017 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.6339, allocations: 276.3 kB / 0.702 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.6341, allocations: 13.16 kB / 0.702 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.6351, allocations: 77 kB / 0.7021 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.6352, allocations: 46.27 kB / 0.7021 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.6352, allocations: 24.02 kB / 0.7022 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001059/0.6363, allocations: 0.6741 MB / 0.7028 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6363, allocations: 0 / 0.7028 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001729/0.638, allocations: 0.5656 MB / 0.7034 GB, free: 14.93 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.0008558/0.6389, allocations: 398.6 kB / 0.7037 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004151/0.6431, allocations: 1.343 MB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6431, allocations: 0 / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.6444, allocations: 459.9 kB / 0.7055 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.6468, allocations: 499.2 kB / 0.706 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.6506, allocations: 1.914 MB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.6512, allocations: 1.069 MB / 0.7089 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001052/0.6522, allocations: 234.8 kB / 0.7091 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.6525, allocations: 82.38 kB / 0.7092 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.6525, allocations: 0 / 0.7092 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.04326/0.6957, allocations: 24.7 MB / 0.7333 GB, free: 3.711 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)