Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004344/0.004343, allocations: 358 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.552/1.552, allocations: 165.8 MB / 183.1 MB, free: 5.465 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.943/3.943, 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.001783/0.001783, allocations: 194.2 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 16 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4657, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02206/0.4878, allocations: 13.16 MB / 0.8216 GB, free: 15.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.4952, allocations: 3.341 MB / 0.8249 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008066/0.496, allocations: 11.94 kB / 0.8249 GB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4971, allocations: 182.8 kB / 0.825 GB, free: 12.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.4999, allocations: 0.606 MB / 0.8256 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.5025, allocations: 460.9 kB / 0.8261 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.5051, allocations: 1.235 MB / 0.8273 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007206/0.5058, allocations: 252 kB / 0.8275 GB, free: 9.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007916/0.5066, allocations: 302.7 kB / 0.8278 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.5072, allocations: 274.8 kB / 0.8281 GB, free: 8.918 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.5073, allocations: 12 kB / 0.8281 GB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007986/0.5081, allocations: 155.5 kB / 0.8282 GB, free: 8.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.5083, allocations: 63.69 kB / 0.8283 GB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.5085, allocations: 101.5 kB / 0.8284 GB, free: 8.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008509/0.5093, allocations: 434.8 kB / 0.8288 GB, free: 8.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5094, allocations: 4 kB / 0.8288 GB, free: 8.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5094, allocations: 0 / 0.8288 GB, free: 8.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.5094, allocations: 0 / 0.8288 GB, free: 8.156 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001363/0.5108, allocations: 0.6716 MB / 0.8295 GB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5108, allocations: 8.031 kB / 0.8295 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.5111, allocations: 51.52 kB / 0.8295 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.5121, allocations: 458 kB / 0.83 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.5122, allocations: 20.56 kB / 0.83 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.5122, allocations: 27.91 kB / 0.83 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.5131, allocations: 318.2 kB / 0.8303 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.5131, allocations: 0 / 0.8303 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.5132, allocations: 15.95 kB / 0.8303 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.5132, allocations: 7.938 kB / 0.8303 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.514, allocations: 210.1 kB / 0.8305 GB, free: 6.277 MB / 378.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.003077/0.5171, allocations: 1.474 MB / 0.832 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/0.518, allocations: 170.6 kB / 0.8321 GB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.5184, allocations: 76.77 kB / 0.8322 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.5187, allocations: 85.09 kB / 0.8323 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.5193, allocations: 139.3 kB / 0.8324 GB, free: 4.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 5.771e-06/0.5193, allocations: 0 / 0.8324 GB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.00135/0.5207, allocations: 254.9 kB / 0.8327 GB, free: 3.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.5207, allocations: 51.41 kB / 0.8327 GB, free: 3.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.5213, allocations: 329.6 kB / 0.833 GB, free: 3.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.5214, allocations: 33.7 kB / 0.8331 GB, free: 3.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5216, allocations: 215.7 kB / 0.8333 GB, free: 3.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.5217, allocations: 47.27 kB / 0.8333 GB, free: 3.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.5218, allocations: 8 kB / 0.8333 GB, free: 3.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5219, allocations: 346.8 kB / 0.8336 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.5223, allocations: 71.95 kB / 0.8337 GB, free: 2.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.5228, allocations: 153.3 kB / 0.8339 GB, free: 2.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.5233, allocations: 123.5 kB / 0.834 GB, free: 2.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.5234, allocations: 0 / 0.834 GB, free: 2.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001221/0.5246, allocations: 321.5 kB / 0.8343 GB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.5247, allocations: 37.69 kB / 0.8343 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5247, allocations: 4 kB / 0.8343 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.5247, allocations: 4 kB / 0.8343 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.5253, allocations: 63.84 kB / 0.8344 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.5254, allocations: 4.188 kB / 0.8344 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.5261, allocations: 39.77 kB / 0.8344 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.5261, allocations: 15.98 kB / 0.8344 GB, free: 1.996 MB / 378.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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0002568/0.5264, allocations: 156 kB / 0.8346 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.5265, allocations: 39.52 kB / 0.8346 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.5271, allocations: 213.2 kB / 0.8348 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006197/0.5278, allocations: 499.1 kB / 0.8353 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5278, allocations: 0 / 0.8353 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.528, allocations: 124.7 kB / 0.8354 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.528, allocations: 7.984 kB / 0.8354 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.5285, allocations: 23.97 kB / 0.8355 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.5286, allocations: 19.97 kB / 0.8355 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008655/0.5294, allocations: 280.7 kB / 0.8357 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009319/0.5304, allocations: 450.2 kB / 0.8362 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002685/0.5307, allocations: 79.98 kB / 0.8362 GB, free: 4 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003805/0.5311, allocations: 227.3 kB / 0.8365 GB, free: 15.79 MB / 394.7 MB Notification: Performance of Backend: time 1.433e-06/0.5311, allocations: 0 / 0.8365 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.5323, allocations: 350.1 kB / 0.8368 GB, free: 15.43 MB / 394.7 MB Notification: Performance of SimCode: time 0.003223/0.5356, allocations: 1.544 MB / 0.8383 GB, free: 13.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01972/0.5553, allocations: 6.698 MB / 0.8448 GB, free: 7.219 MB / 394.7 MB