Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6965/0.6965, allocations: 82.92 MB / 99.42 MB, free: 3.246 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.386/2.386, allocations: 205.4 MB / 325.4 MB, free: 4.508 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 97.72 kB / 393.6 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004428, allocations: 12 kB / 471.5 MB, free: 66.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09605, allocations: 67.44 MB / 0.5263 GB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07914/0.1752, allocations: 51.27 MB / 0.5764 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03767/0.213, allocations: 10.24 MB / 0.5864 GB, free: 1.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.2163, allocations: 51.62 kB / 0.5865 GB, free: 1.543 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.2204, allocations: 0.6258 MB / 0.5871 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3486/0.5691, allocations: 1.893 MB / 0.5889 GB, free: 22.21 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005324/0.5744, allocations: 1.324 MB / 0.5902 GB, free: 22.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004371/0.5788, allocations: 1.845 MB / 0.592 GB, free: 22.19 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.5807, allocations: 0.8298 MB / 0.5928 GB, free: 22.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.5836, allocations: 0.988 MB / 0.5938 GB, free: 22.08 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.5851, allocations: 0.6154 MB / 0.5944 GB, free: 22.08 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.5853, allocations: 44.09 kB / 0.5944 GB, free: 22.08 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.5884, allocations: 0.9969 MB / 0.5954 GB, free: 22.08 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.5889, allocations: 201.2 kB / 0.5956 GB, free: 22.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.5895, allocations: 293.6 kB / 0.5959 GB, free: 22.04 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.5929, allocations: 1.595 MB / 0.5974 GB, free: 21.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.5929, allocations: 0 / 0.5974 GB, free: 21.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5929, allocations: 0 / 0.5974 GB, free: 21.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.153e-05/0.593, allocations: 0 / 0.5974 GB, free: 21.93 MB / 426.7 MB 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.003633/0.5966, allocations: 1.502 MB / 0.5989 GB, free: 21.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5967, allocations: 12.84 kB / 0.5989 GB, free: 21.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.6, allocations: 0.5128 MB / 0.5994 GB, free: 20.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.6028, allocations: 1.06 MB / 0.6004 GB, free: 20.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.6033, allocations: 128.3 kB / 0.6006 GB, free: 20.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.6035, allocations: 87.05 kB / 0.6007 GB, free: 20.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.6065, allocations: 1.025 MB / 0.6017 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.6065, allocations: 1.375 kB / 0.6017 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.6067, allocations: 32.62 kB / 0.6017 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.6067, allocations: 19.25 kB / 0.6017 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.6103, allocations: 0.9929 MB / 0.6027 GB, free: 20.44 MB / 426.7 MB 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.008115/0.6184, allocations: 4.737 MB / 0.6073 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.6235, allocations: 1.133 MB / 0.6084 GB, free: 17.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009335/0.6245, allocations: 1.031 MB / 0.6094 GB, free: 16.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6246, allocations: 38.94 kB / 0.6095 GB, free: 16.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.769e-06/0.6246, allocations: 0 / 0.6095 GB, free: 16.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.009861/0.6345, allocations: 2.139 MB / 0.6115 GB, free: 16.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6345, allocations: 56.06 kB / 0.6116 GB, free: 16.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.6364, allocations: 0.9509 MB / 0.6125 GB, free: 16.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.6366, allocations: 38.14 kB / 0.6126 GB, free: 16.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.6371, allocations: 0.51 MB / 0.6131 GB, free: 16.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.6373, allocations: 184.2 kB / 0.6132 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.6374, allocations: 12.66 kB / 0.6132 GB, free: 15.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.6375, allocations: 327.3 kB / 0.6136 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.6388, allocations: 375.7 kB / 0.6139 GB, free: 15.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.6404, allocations: 0.5318 MB / 0.6144 GB, free: 15.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.6418, allocations: 394.5 kB / 0.6148 GB, free: 15.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6418, allocations: 5.469 kB / 0.6148 GB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005036/0.6469, allocations: 1.296 MB / 0.6161 GB, free: 15.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.6471, allocations: 0.965 MB / 0.617 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.6472, allocations: 2.344 kB / 0.617 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.6488, allocations: 329 kB / 0.6173 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.6497, allocations: 144.8 kB / 0.6175 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.6515, allocations: 0.9397 MB / 0.6184 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.6532, allocations: 174.8 kB / 0.6186 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.6533, allocations: 27.72 kB / 0.6186 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6534, allocations: 3.688 kB / 0.6186 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004555/0.6579, allocations: 1.152 MB / 0.6197 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.658, allocations: 2.75 kB / 0.6197 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.6594, allocations: 323.5 kB / 0.62 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.6604, allocations: 141.3 kB / 0.6202 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6621, allocations: 0.9381 MB / 0.6211 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.6638, allocations: 162.8 kB / 0.6212 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6639, allocations: 38.31 kB / 0.6213 GB, free: 13.01 MB / 426.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007053/0.6646, allocations: 346.6 kB / 0.6216 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.6649, allocations: 118 kB / 0.6217 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.6691, allocations: 1.219 MB / 0.6229 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.6691, allocations: 9.531 kB / 0.6229 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.648e-06/0.6691, allocations: 3.281 kB / 0.6229 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6691, allocations: 3.75 kB / 0.6229 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006643/0.6758, allocations: 2.324 MB / 0.6252 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.6759, allocations: 3.219 kB / 0.6252 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.6766, allocations: 116.5 kB / 0.6253 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.6779, allocations: 327.1 kB / 0.6256 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.678, allocations: 17.98 kB / 0.6256 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.6798, allocations: 0.9702 MB / 0.6266 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.516e-06/0.6798, allocations: 3.25 kB / 0.6266 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00473/0.6845, allocations: 1.474 MB / 0.628 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/0.6854, allocations: 301.5 kB / 0.6283 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6856, allocations: 14.08 kB / 0.6283 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.6869, allocations: 124.7 kB / 0.6284 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.687, allocations: 45.17 kB / 0.6285 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.6871, allocations: 26.86 kB / 0.6285 GB, free: 10.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.6883, allocations: 0.6767 MB / 0.6292 GB, free: 10.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.89e-07/0.6883, allocations: 0 / 0.6292 GB, free: 10.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002018/0.6904, allocations: 0.5672 MB / 0.6297 GB, free: 10.04 MB / 426.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008183/0.6912, allocations: 385.3 kB / 0.6301 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.6958, allocations: 1.382 MB / 0.6314 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.719e-06/0.6959, allocations: 0 / 0.6314 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.6975, allocations: 490.4 kB / 0.6319 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.7006, allocations: 0.4945 MB / 0.6324 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.7052, allocations: 2.325 MB / 0.6347 GB, free: 8.016 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.7059, allocations: 1.092 MB / 0.6357 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001546/0.7074, allocations: 247.2 kB / 0.636 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.7078, allocations: 83.09 kB / 0.636 GB, free: 6.992 MB / 426.7 MB Notification: Performance of SimCode: time 1.58e-06/0.7078, allocations: 0 / 0.636 GB, free: 6.992 MB / 426.7 MB Notification: Performance of Templates: time 0.05473/0.7625, allocations: 23.46 MB / 0.659 GB, free: 0.6016 MB / 442.7 MB