Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.481/4.481, allocations: 0.5623 GB / 0.5776 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002649/0.002649, allocations: 358.5 kB / 0.6446 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.153/4.153, allocations: 410.7 MB / 1.113 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00185/0.00185, allocations: 180.1 kB / 1.226 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005081, allocations: 10.81 kB / 1.349 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01701/0.2191, allocations: 13.18 MB / 1.474 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006032/0.2252, allocations: 3.342 MB / 1.477 GB, free: 204.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006132/0.2258, allocations: 15.88 kB / 1.477 GB, free: 204.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.2266, allocations: 188.6 kB / 1.478 GB, free: 204 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.2287, allocations: 0.6006 MB / 1.478 GB, free: 203.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.2306, allocations: 466.8 kB / 1.479 GB, free: 202.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.2325, allocations: 1.233 MB / 1.48 GB, free: 201.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.2331, allocations: 230.7 kB / 1.48 GB, free: 201.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.2337, allocations: 303.6 kB / 1.48 GB, free: 201.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.2341, allocations: 283.5 kB / 1.481 GB, free: 200.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.2342, allocations: 16 kB / 1.481 GB, free: 200.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.2349, allocations: 152.2 kB / 1.481 GB, free: 200.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.235, allocations: 68.36 kB / 1.481 GB, free: 200.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2352, allocations: 97.52 kB / 1.481 GB, free: 200.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009608/0.2362, allocations: 435.4 kB / 1.481 GB, free: 200.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.2363, allocations: 5.156 kB / 1.481 GB, free: 200.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2363, allocations: 0 / 1.481 GB, free: 200.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.2363, allocations: 0 / 1.481 GB, free: 200.1 MB / 0.8073 GB 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.001321/0.2376, allocations: 0.6661 MB / 1.482 GB, free: 199.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2377, allocations: 10.47 kB / 1.482 GB, free: 199.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.2379, allocations: 43.53 kB / 1.482 GB, free: 199.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.2389, allocations: 458.9 kB / 1.483 GB, free: 198.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.2389, allocations: 24.56 kB / 1.483 GB, free: 198.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.239, allocations: 32.39 kB / 1.483 GB, free: 198.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.2398, allocations: 313 kB / 1.483 GB, free: 198.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2398, allocations: 3.984 kB / 1.483 GB, free: 198.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.2399, allocations: 13.06 kB / 1.483 GB, free: 198.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.2399, allocations: 11.98 kB / 1.483 GB, free: 198.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.2407, allocations: 204.2 kB / 1.483 GB, free: 198.3 MB / 0.8073 GB 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.002305/0.243, allocations: 1.487 MB / 1.485 GB, free: 196.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.2437, allocations: 168.4 kB / 1.485 GB, free: 196.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.244, allocations: 74.88 kB / 1.485 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.2442, allocations: 89.67 kB / 1.485 GB, free: 196.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.2447, allocations: 137.8 kB / 1.485 GB, free: 196.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 3.717e-06/0.2447, allocations: 0 / 1.485 GB, free: 196.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0009615/0.2457, allocations: 244.3 kB / 1.485 GB, free: 195.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.2457, allocations: 52.12 kB / 1.485 GB, free: 195.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.2461, allocations: 337.5 kB / 1.486 GB, free: 195.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.2462, allocations: 34.39 kB / 1.486 GB, free: 195.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.2464, allocations: 212.6 kB / 1.486 GB, free: 195.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.2464, allocations: 59.19 kB / 1.486 GB, free: 195.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.2465, allocations: 4.5 kB / 1.486 GB, free: 195.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.2466, allocations: 343.8 kB / 1.486 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.2469, allocations: 72.7 kB / 1.486 GB, free: 194.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.2472, allocations: 164.8 kB / 1.486 GB, free: 194.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.2476, allocations: 119.4 kB / 1.487 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2476, allocations: 0 / 1.487 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009414/0.2485, allocations: 325.3 kB / 1.487 GB, free: 194.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.2486, allocations: 31.89 kB / 1.487 GB, free: 194.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2486, allocations: 4 kB / 1.487 GB, free: 194.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.2487, allocations: 4 kB / 1.487 GB, free: 194.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.2491, allocations: 66.83 kB / 1.487 GB, free: 194.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2491, allocations: 7.984 kB / 1.487 GB, free: 194.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.2496, allocations: 35.83 kB / 1.487 GB, free: 194 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.2497, allocations: 8 kB / 1.487 GB, free: 194 MB / 0.8073 GB 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.0002309/0.2499, allocations: 172.4 kB / 1.487 GB, free: 193.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.25, allocations: 31.62 kB / 1.487 GB, free: 193.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/0.2507, allocations: 209.6 kB / 1.487 GB, free: 193.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006084/0.2513, allocations: 494.9 kB / 1.488 GB, free: 193 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2514, allocations: 0 / 1.488 GB, free: 193 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.2516, allocations: 132.6 kB / 1.488 GB, free: 192.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.2517, allocations: 0 / 1.488 GB, free: 192.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.2521, allocations: 34.55 kB / 1.488 GB, free: 192.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.2522, allocations: 15.98 kB / 1.488 GB, free: 192.8 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008996/0.2532, allocations: 271.8 kB / 1.488 GB, free: 192.6 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000973/0.2542, allocations: 455.4 kB / 1.489 GB, free: 192.1 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002761/0.2545, allocations: 75.47 kB / 1.489 GB, free: 192 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002986/0.2548, allocations: 235.2 kB / 1.489 GB, free: 191.8 MB / 0.8073 GB Notification: Performance of Backend: time 8.01e-07/0.2548, allocations: 0 / 1.489 GB, free: 191.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.256, allocations: 367.2 kB / 1.489 GB, free: 191.5 MB / 0.8073 GB Notification: Performance of SimCode: time 0.002884/0.2589, allocations: 1.524 MB / 1.491 GB, free: 189.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.01724/0.2762, allocations: 6.692 MB / 1.497 GB, free: 183.4 MB / 0.8073 GB