Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001387, allocations: 186.8 kB / 15.77 MB, free: 6.023 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.7399/0.7399, allocations: 82.93 MB / 99.42 MB, free: 3.289 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.29/2.29, allocations: 205.4 MB / 325.4 MB, free: 3.402 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.00197/0.00197, allocations: 94.47 kB / 393.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005141, allocations: 12 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09124, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08906/0.1803, allocations: 59.11 MB / 0.5841 GB, free: 3.805 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4799/0.6603, allocations: 14.96 MB / 0.5987 GB, free: 22.21 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.6627, allocations: 56.66 kB / 0.5987 GB, free: 22.21 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.6655, allocations: 0.6989 MB / 0.5994 GB, free: 22.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008624/0.6742, allocations: 2.263 MB / 0.6016 GB, free: 22.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00644/0.6807, allocations: 1.558 MB / 0.6031 GB, free: 22.15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.686, allocations: 2.266 MB / 0.6054 GB, free: 22.15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.6883, allocations: 1.036 MB / 0.6064 GB, free: 22.01 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.6921, allocations: 1.273 MB / 0.6076 GB, free: 22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.6942, allocations: 0.7857 MB / 0.6084 GB, free: 22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003627/0.6946, allocations: 63.53 kB / 0.6084 GB, free: 22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.6986, allocations: 0.9805 MB / 0.6094 GB, free: 22 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006483/0.6993, allocations: 241.3 kB / 0.6096 GB, free: 22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.7001, allocations: 372.3 kB / 0.61 GB, free: 21.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.704, allocations: 2.288 MB / 0.6122 GB, free: 21.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.185e-06/0.704, allocations: 1.375 kB / 0.6122 GB, free: 21.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.559e-06/0.7041, allocations: 2.812 kB / 0.6122 GB, free: 21.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.312e-05/0.7041, allocations: 3.938 kB / 0.6122 GB, free: 21.82 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004149/0.7083, allocations: 1.726 MB / 0.6139 GB, free: 20.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7083, allocations: 8.969 kB / 0.6139 GB, free: 20.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.7113, allocations: 0.5005 MB / 0.6144 GB, free: 20.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.7147, allocations: 1.429 MB / 0.6158 GB, free: 20.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004667/0.7152, allocations: 149.5 kB / 0.6159 GB, free: 20.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.7154, allocations: 104.1 kB / 0.616 GB, free: 20.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.719, allocations: 1.306 MB / 0.6173 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.7191, allocations: 5.344 kB / 0.6173 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.7193, allocations: 40.78 kB / 0.6174 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.7193, allocations: 28.09 kB / 0.6174 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.7234, allocations: 1.165 MB / 0.6185 GB, free: 20.09 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.01164/0.7351, allocations: 6.964 MB / 0.6253 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.7393, allocations: 0.942 MB / 0.6262 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7404, allocations: 1.716 MB / 0.6279 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.7405, allocations: 40.62 kB / 0.628 GB, free: 13.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 4.006e-06/0.7405, allocations: 4 kB / 0.628 GB, free: 13.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.006286/0.7468, allocations: 1.479 MB / 0.6294 GB, free: 12.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.7468, allocations: 58.38 kB / 0.6295 GB, free: 12.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.7501, allocations: 1.542 MB / 0.631 GB, free: 12.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.7503, allocations: 42.58 kB / 0.631 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.7509, allocations: 0.6684 MB / 0.6317 GB, free: 11.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.7511, allocations: 178 kB / 0.6318 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.7511, allocations: 15.09 kB / 0.6319 GB, free: 11.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.7512, allocations: 340.4 kB / 0.6322 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.7526, allocations: 398 kB / 0.6326 GB, free: 11.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.7543, allocations: 0.6721 MB / 0.6332 GB, free: 10.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.7558, allocations: 455 kB / 0.6336 GB, free: 10.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.967e-06/0.7558, allocations: 3.969 kB / 0.6336 GB, free: 10.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003915/0.7597, allocations: 1.246 MB / 0.6349 GB, free: 9.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7598, allocations: 7.031 kB / 0.6349 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7598, allocations: 9.688 kB / 0.6349 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.761, allocations: 222.9 kB / 0.6351 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.7621, allocations: 208.5 kB / 0.6353 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009449/0.763, allocations: 0.7384 MB / 0.636 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.7652, allocations: 256.5 kB / 0.6363 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.7654, allocations: 47.78 kB / 0.6363 GB, free: 8.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007495/0.7662, allocations: 345.2 kB / 0.6366 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.7664, allocations: 159.5 kB / 0.6368 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.7697, allocations: 1.219 MB / 0.638 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.7698, allocations: 4.938 kB / 0.638 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-06/0.7698, allocations: 2.594 kB / 0.638 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.7698, allocations: 7.984 kB / 0.638 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.7769, allocations: 2.678 MB / 0.6406 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7769, allocations: 0 / 0.6406 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.7775, allocations: 99.19 kB / 0.6407 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.7786, allocations: 218.1 kB / 0.6409 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.7787, allocations: 18.33 kB / 0.6409 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.7802, allocations: 0.8111 MB / 0.6417 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.642e-06/0.7802, allocations: 3.953 kB / 0.6417 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.7844, allocations: 1.406 MB / 0.6431 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/0.7854, allocations: 384.2 kB / 0.6435 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.7857, allocations: 22.09 kB / 0.6435 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.787, allocations: 104.2 kB / 0.6436 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.7871, allocations: 44.91 kB / 0.6436 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.7872, allocations: 26.05 kB / 0.6436 GB, free: 4.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002196/0.7894, allocations: 1.091 MB / 0.6447 GB, free: 3.406 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.7894, allocations: 3.938 kB / 0.6447 GB, free: 3.402 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001739/0.7912, allocations: 443.3 kB / 0.6451 GB, free: 3.301 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009072/0.7921, allocations: 474.8 kB / 0.6456 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002806/0.7949, allocations: 0.9022 MB / 0.6465 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.795, allocations: 2.531 kB / 0.6465 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.7967, allocations: 492.1 kB / 0.6469 GB, free: 2.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.8005, allocations: 0.7249 MB / 0.6477 GB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.8054, allocations: 2.733 MB / 0.6503 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.8066, allocations: 1.21 MB / 0.6515 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001734/0.8083, allocations: 268.2 kB / 0.6518 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.8087, allocations: 115.4 kB / 0.6519 GB, free: 13.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.765e-06/0.8087, allocations: 0 / 0.6519 GB, free: 13.36 MB / 442.7 MB Notification: Performance of Templates: time 0.07159/0.8803, allocations: 29.92 MB / 0.6811 GB, free: 15.76 MB / 474.7 MB