Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 184.5 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205 MB / 0.6353 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009934/0.0009932, allocations: 95.7 kB / 0.7479 GB, free: 61.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2506, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02014/0.2708, allocations: 14.4 MB / 0.9963 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008814/0.2797, allocations: 3.656 MB / 0.9998 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.2807, allocations: 15.94 kB / 0.9999 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.2817, allocations: 159.1 kB / 1 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.2842, allocations: 0.5444 MB / 1.001 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.2859, allocations: 355.3 kB / 1.001 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.2885, allocations: 1.453 MB / 1.002 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.2893, allocations: 275.8 kB / 1.003 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009358/0.2902, allocations: 318.6 kB / 1.003 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008225/0.2911, allocations: 310.6 kB / 1.003 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.2912, allocations: 19.94 kB / 1.003 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.2925, allocations: 243.5 kB / 1.003 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.2927, allocations: 87.59 kB / 1.003 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.2932, allocations: 187.1 kB / 1.004 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2945, allocations: 0.5724 MB / 1.004 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2945, allocations: 0 / 1.004 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2945, allocations: 0 / 1.004 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2945, allocations: 0 / 1.004 GB, free: 3.734 MB / 0.7292 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.001936/0.2965, allocations: 0.7458 MB / 1.005 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.2966, allocations: 8.031 kB / 1.005 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.2969, allocations: 48.47 kB / 1.005 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.2983, allocations: 471.1 kB / 1.005 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.2983, allocations: 28.69 kB / 1.005 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.2984, allocations: 24 kB / 1.006 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009832/0.2994, allocations: 310.2 kB / 1.006 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.2995, allocations: 0 / 1.006 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.2996, allocations: 12 kB / 1.006 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.2996, allocations: 8 kB / 1.006 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.3005, allocations: 198 kB / 1.006 GB, free: 1.793 MB / 0.7292 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.003116/0.3036, allocations: 1.477 MB / 1.007 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.3044, allocations: 150.6 kB / 1.008 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.3048, allocations: 72.81 kB / 1.008 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.3051, allocations: 85.11 kB / 1.008 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.3057, allocations: 131.2 kB / 1.008 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 3.576e-06/0.3057, allocations: 0 / 1.008 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.001118/0.3068, allocations: 231.5 kB / 1.008 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3069, allocations: 63.39 kB / 1.008 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.3076, allocations: 333.5 kB / 1.008 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.3076, allocations: 37.64 kB / 1.009 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.3079, allocations: 211.8 kB / 1.009 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.308, allocations: 51.3 kB / 1.009 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3082, allocations: 57.61 kB / 1.009 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3084, allocations: 338.8 kB / 1.009 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.3088, allocations: 75.95 kB / 1.009 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.3092, allocations: 141.4 kB / 1.009 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.31, allocations: 248.8 kB / 1.01 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.31, allocations: 0 / 1.01 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001086/0.3111, allocations: 314.9 kB / 1.01 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.3112, allocations: 41.67 kB / 1.01 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3112, allocations: 4 kB / 1.01 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.3112, allocations: 7.938 kB / 1.01 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.3117, allocations: 55.91 kB / 1.01 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.3117, allocations: 7.984 kB / 1.01 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.3122, allocations: 31.73 kB / 1.01 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.3123, allocations: 12 kB / 1.01 GB, free: 13.36 MB / 0.7448 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.3126, allocations: 169.7 kB / 1.01 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3128, allocations: 31.62 kB / 1.01 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/0.3135, allocations: 184.5 kB / 1.01 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.3136, allocations: 15.91 kB / 1.01 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3136, allocations: 0 / 1.01 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008375/0.3144, allocations: 491.7 kB / 1.011 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.3152, allocations: 345.4 kB / 1.011 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3153, allocations: 0 / 1.011 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3155, allocations: 31.98 kB / 1.011 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3156, allocations: 0 / 1.011 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.3156, allocations: 3.984 kB / 1.011 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3156, allocations: 7.938 kB / 1.011 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3156, allocations: 0 / 1.011 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/0.3206, allocations: 1.856 MB / 1.013 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.3209, allocations: 128.7 kB / 1.013 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.321, allocations: 11.98 kB / 1.013 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.3214, allocations: 15.98 kB / 1.013 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3215, allocations: 19.97 kB / 1.013 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.3216, allocations: 4 kB / 1.013 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004221/0.322, allocations: 239.2 kB / 1.013 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.91e-07/0.322, allocations: 0 / 1.013 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001082/0.3231, allocations: 167.8 kB / 1.014 GB, free: 9.363 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005637/0.3237, allocations: 183 kB / 1.014 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009002/0.3246, allocations: 229.6 kB / 1.014 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3247, allocations: 4.062 kB / 1.014 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.325, allocations: 71.89 kB / 1.014 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.3268, allocations: 210.4 kB / 1.014 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.3297, allocations: 1.009 MB / 1.015 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.3303, allocations: 0.7921 MB / 1.016 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000536/0.3309, allocations: 63.3 kB / 1.016 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.331, allocations: 35.42 kB / 1.016 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.3311, allocations: 0 / 1.016 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of Templates: time 0.5086/0.8397, allocations: 6.878 MB / 1.023 GB, free: 99.49 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)