Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003966/0.003966, allocations: 356.5 kB / 16.59 MB, free: 5.562 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.457/1.457, allocations: 165.8 MB / 183.1 MB, free: 5.402 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.733/3.733, allocations: 410.8 MB / 0.6001 GB, free: 15.07 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.001766/0.001766, allocations: 194.2 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.000448, allocations: 12 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4073, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03162/0.439, allocations: 26.21 MB / 0.8343 GB, free: 2.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.4528, allocations: 7.221 MB / 0.8414 GB, free: 11.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.454, allocations: 31.81 kB / 0.8414 GB, free: 11.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.4555, allocations: 373.6 kB / 0.8418 GB, free: 10.87 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.4595, allocations: 1.054 MB / 0.8428 GB, free: 9.812 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.4641, allocations: 1.088 MB / 0.8439 GB, free: 8.742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007956/0.4721, allocations: 5.214 MB / 0.849 GB, free: 3.508 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.4755, allocations: 1.619 MB / 0.8505 GB, free: 1.871 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.4789, allocations: 1.26 MB / 0.8518 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.4819, allocations: 1.225 MB / 0.853 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.4823, allocations: 80 kB / 0.853 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.4853, allocations: 0.8188 MB / 0.8538 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.4859, allocations: 358.5 kB / 0.8542 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.4866, allocations: 420.8 kB / 0.8546 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.491, allocations: 2.771 MB / 0.8573 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.491, allocations: 0 / 0.8573 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.038e-06/0.4911, allocations: 0 / 0.8573 GB, free: 10.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.918e-05/0.4911, allocations: 3.938 kB / 0.8573 GB, free: 10.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006449/0.4976, allocations: 2.129 MB / 0.8594 GB, free: 8.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4976, allocations: 8.031 kB / 0.8594 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.4987, allocations: 229.5 kB / 0.8596 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/0.5031, allocations: 1.694 MB / 0.8612 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.5032, allocations: 114.7 kB / 0.8614 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/0.5036, allocations: 156 kB / 0.8615 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004915/0.5085, allocations: 1.986 MB / 0.8634 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.905e-05/0.5086, allocations: 4 kB / 0.8634 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.5089, allocations: 56 kB / 0.8635 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.5089, allocations: 39.94 kB / 0.8635 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/0.5135, allocations: 1.786 MB / 0.8653 GB, free: 2.551 MB / 410.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.01756/0.5311, allocations: 7.617 MB / 0.8727 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.5344, allocations: 1.44 MB / 0.8741 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.5359, allocations: 0.6525 MB / 0.8748 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00994/0.5458, allocations: 3.84 MB / 0.8785 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.5459, allocations: 51.45 kB / 0.8786 GB, free: 4.293 MB / 426.7 MB Notification: Performance of pre-optimization done (n=88): time 5.32e-06/0.5459, allocations: 0 / 0.8786 GB, free: 4.293 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.003883/0.5498, allocations: 1.51 MB / 0.88 GB, free: 2.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.5499, allocations: 64.41 kB / 0.8801 GB, free: 2.707 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/0.5531, allocations: 1.57 MB / 0.8816 GB, free: 1.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.5532, allocations: 45.7 kB / 0.8817 GB, free: 1.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008904/0.5541, allocations: 0.7534 MB / 0.8824 GB, free: 320 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.5545, allocations: 303.6 kB / 0.8827 GB, free: 12 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.5547, allocations: 32.08 kB / 0.8827 GB, free: 15.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5549, allocations: 361.9 kB / 0.8831 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.5566, allocations: 0.6792 MB / 0.8837 GB, free: 14.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.5587, allocations: 1.012 MB / 0.8847 GB, free: 13.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.5609, allocations: 0.8689 MB / 0.8856 GB, free: 12.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.5609, allocations: 4 kB / 0.8856 GB, free: 12.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004961/0.5659, allocations: 1.939 MB / 0.8875 GB, free: 10.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.5662, allocations: 365.2 kB / 0.8878 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5662, allocations: 12 kB / 0.8878 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/0.5662, allocations: 16 kB / 0.8879 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/0.5688, allocations: 335.5 kB / 0.8882 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.423e-05/0.5688, allocations: 19.94 kB / 0.8882 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.5709, allocations: 218 kB / 0.8884 GB, free: 9.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.5711, allocations: 63.98 kB / 0.8885 GB, free: 9.836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.5711, allocations: 4 kB / 0.8885 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004419/0.5756, allocations: 1.784 MB / 0.8902 GB, free: 8.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.5756, allocations: 12 kB / 0.8902 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.5756, allocations: 16.06 kB / 0.8902 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/0.5781, allocations: 339.4 kB / 0.8906 GB, free: 7.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.503e-05/0.5781, allocations: 19.98 kB / 0.8906 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.5801, allocations: 194.6 kB / 0.8908 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.5803, allocations: 63.98 kB / 0.8908 GB, free: 7.414 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001541/0.5818, allocations: 0.7474 MB / 0.8916 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.5823, allocations: 146.2 kB / 0.8917 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.5857, allocations: 1.286 MB / 0.8929 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002453/0.5882, allocations: 1.28 MB / 0.8942 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5882, allocations: 0 / 0.8942 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.5893, allocations: 410.8 kB / 0.8946 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.5896, allocations: 27.98 kB / 0.8946 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.591, allocations: 64.77 kB / 0.8947 GB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5912, allocations: 52.92 kB / 0.8947 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003586/0.5948, allocations: 1.251 MB / 0.8959 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00429/0.5991, allocations: 2.013 MB / 0.8979 GB, free: 0 / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001125/0.6002, allocations: 0.527 MB / 0.8984 GB, free: 15.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002445/0.6027, allocations: 1.106 MB / 0.8995 GB, free: 14.37 MB / 458.7 MB Notification: Performance of Backend: time 5.21e-07/0.6027, allocations: 0 / 0.8995 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006712/0.6094, allocations: 2.248 MB / 0.9017 GB, free: 12.12 MB / 458.7 MB Notification: Performance of SimCode: time 0.01279/0.6222, allocations: 5.011 MB / 0.9066 GB, free: 7.062 MB / 458.7 MB Notification: Performance of Templates: time 0.4562/1.078, allocations: 38.16 MB / 0.9439 GB, free: 103.5 MB / 474.7 MB