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.002415/0.00242, allocations: 352.4 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.567/1.567, allocations: 165.8 MB / 182.5 MB, free: 5.535 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.806/3.806, allocations: 410.8 MB / 0.5995 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 187.5 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004714, allocations: 12 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3707, allocations: 67.45 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08289/0.4536, allocations: 65.02 MB / 0.8716 GB, free: 11.6 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.4881, allocations: 16.17 MB / 0.8874 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.4905, allocations: 59.62 kB / 0.8875 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.4931, allocations: 0.6442 MB / 0.8881 GB, free: 10.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009055/0.5022, allocations: 2.342 MB / 0.8904 GB, free: 8.328 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006166/0.5084, allocations: 1.563 MB / 0.8919 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007328/0.5158, allocations: 4.377 MB / 0.8962 GB, free: 2.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.5182, allocations: 1.022 MB / 0.8972 GB, free: 1.359 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.5217, allocations: 1.287 MB / 0.8985 GB, free: 68 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.5241, allocations: 1.05 MB / 0.8995 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.5244, allocations: 60 kB / 0.8995 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.5274, allocations: 0.904 MB / 0.9004 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.5279, allocations: 250.8 kB / 0.9007 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.5286, allocations: 368.9 kB / 0.901 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.5326, allocations: 2.314 MB / 0.9033 GB, free: 11.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.204e-06/0.5327, allocations: 3.984 kB / 0.9033 GB, free: 11.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.216e-06/0.5327, allocations: 0 / 0.9033 GB, free: 11.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.608e-05/0.5327, allocations: 0 / 0.9033 GB, free: 11.11 MB / 458.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.004272/0.537, allocations: 1.723 MB / 0.905 GB, free: 9.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5371, allocations: 16.03 kB / 0.905 GB, free: 9.305 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.54, allocations: 0.4897 MB / 0.9055 GB, free: 8.812 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/0.5438, allocations: 1.47 MB / 0.9069 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/0.5443, allocations: 150 kB / 0.907 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.5445, allocations: 103.9 kB / 0.9071 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.5483, allocations: 1.319 MB / 0.9084 GB, free: 5.629 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.5483, allocations: 3.984 kB / 0.9084 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.5485, allocations: 44 kB / 0.9085 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.5485, allocations: 28 kB / 0.9085 GB, free: 5.555 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.5526, allocations: 1.163 MB / 0.9096 GB, free: 4.395 MB / 458.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.01287/0.5655, allocations: 6.919 MB / 0.9164 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.5698, allocations: 0.9342 MB / 0.9173 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.5709, allocations: 310 kB / 0.9176 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.5728, allocations: 1.726 MB / 0.9193 GB, free: 9.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5728, allocations: 39 kB / 0.9193 GB, free: 9.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 3.644e-06/0.5729, allocations: 0 / 0.9193 GB, free: 9.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.006425/0.5793, allocations: 1.487 MB / 0.9208 GB, free: 8.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.5794, allocations: 59.84 kB / 0.9208 GB, free: 8.027 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.5831, allocations: 1.529 MB / 0.9223 GB, free: 6.488 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.5833, allocations: 41.64 kB / 0.9224 GB, free: 6.441 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/0.5841, allocations: 0.6576 MB / 0.923 GB, free: 5.777 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.5844, allocations: 181.4 kB / 0.9232 GB, free: 5.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.5844, allocations: 20 kB / 0.9232 GB, free: 5.578 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5846, allocations: 334 kB / 0.9235 GB, free: 5.246 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.5861, allocations: 401.7 kB / 0.9239 GB, free: 4.855 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.5879, allocations: 0.6708 MB / 0.9246 GB, free: 4.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.5895, allocations: 457.9 kB / 0.925 GB, free: 3.625 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.865e-06/0.5895, allocations: 0 / 0.925 GB, free: 3.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004399/0.5939, allocations: 1.251 MB / 0.9262 GB, free: 2.363 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.594, allocations: 8 kB / 0.9262 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.594, allocations: 8 kB / 0.9262 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.5952, allocations: 229.1 kB / 0.9265 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5964, allocations: 207.7 kB / 0.9266 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.5976, allocations: 0.7241 MB / 0.9274 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.5999, allocations: 262.7 kB / 0.9276 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.6001, allocations: 43.97 kB / 0.9276 GB, free: 0.8672 MB / 474.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.0009179/0.6011, allocations: 365.5 kB / 0.928 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/0.6015, allocations: 146.1 kB / 0.9281 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3159/0.9174, allocations: 1.203 MB / 0.9293 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.9174, allocations: 10.17 kB / 0.9293 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.129e-06/0.9174, allocations: 0 / 0.9293 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.9175, allocations: 4.609 kB / 0.9293 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.9251, allocations: 2.656 MB / 0.9319 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.9252, allocations: 2.203 kB / 0.9319 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.9258, allocations: 100.4 kB / 0.932 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.9271, allocations: 222.6 kB / 0.9322 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.9272, allocations: 17.44 kB / 0.9322 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.9289, allocations: 0.8071 MB / 0.933 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.557e-06/0.9289, allocations: 1.875 kB / 0.933 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.9335, allocations: 1.32 MB / 0.9343 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009436/0.9345, allocations: 386 kB / 0.9347 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.9348, allocations: 13.59 kB / 0.9347 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.9362, allocations: 109 kB / 0.9348 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.9364, allocations: 42.62 kB / 0.9349 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.9365, allocations: 25.23 kB / 0.9349 GB, free: 112.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002397/0.9389, allocations: 1.079 MB / 0.9359 GB, free: 112.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.9389, allocations: 3.062 kB / 0.9359 GB, free: 112.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001927/0.9409, allocations: 434.1 kB / 0.9363 GB, free: 112.2 MB / 474.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.001044/0.9419, allocations: 461.5 kB / 0.9368 GB, free: 112.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003285/0.9452, allocations: 0.8937 MB / 0.9377 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.513e-06/0.9453, allocations: 3.938 kB / 0.9377 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.9473, allocations: 490.5 kB / 0.9381 GB, free: 111.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/0.9523, allocations: 0.724 MB / 0.9388 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.9573, allocations: 2.734 MB / 0.9415 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.9581, allocations: 1.205 MB / 0.9427 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001799/0.9599, allocations: 277.2 kB / 0.9429 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.9603, allocations: 115.3 kB / 0.9431 GB, free: 109.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.125e-06/0.9604, allocations: 0 / 0.9431 GB, free: 109.1 MB / 474.7 MB Notification: Performance of Templates: time 0.06084/1.021, allocations: 29.59 MB / 0.972 GB, free: 81.45 MB / 474.7 MB