Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.000911, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00534/0.00534, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.367/2.367, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004744, allocations: 8.156 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01252/0.2626, allocations: 13.89 MB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004192/0.2668, allocations: 3.628 MB / 1.076 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.267, allocations: 15.88 kB / 1.076 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.2675, allocations: 171.1 kB / 1.076 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.2684, allocations: 0.5405 MB / 1.077 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.2691, allocations: 353.8 kB / 1.077 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.2704, allocations: 1.461 MB / 1.078 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.2707, allocations: 260.6 kB / 1.079 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.2711, allocations: 318.5 kB / 1.079 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.2714, allocations: 302.6 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.2715, allocations: 16 kB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.2719, allocations: 231.5 kB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.272, allocations: 79.61 kB / 1.08 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.2722, allocations: 216.6 kB / 1.08 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.2727, allocations: 0.5684 MB / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.2728, allocations: 0 / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2728, allocations: 0 / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2728, allocations: 4 kB / 1.08 GB, free: 14.78 MB / 0.8419 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.0009222/0.2737, allocations: 0.6718 MB / 1.081 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2737, allocations: 11.97 kB / 1.081 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.2738, allocations: 62.72 kB / 1.081 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.274, allocations: 48.47 kB / 1.081 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.2746, allocations: 479.8 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2746, allocations: 24.5 kB / 1.082 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2747, allocations: 27.91 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.2752, allocations: 318.2 kB / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2753, allocations: 0 / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.2753, allocations: 12 kB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.2753, allocations: 8 kB / 1.082 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.2758, allocations: 206.1 kB / 1.082 GB, free: 12.81 MB / 0.8419 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.001573/0.2773, allocations: 1.485 MB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.2778, allocations: 170.6 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.278, allocations: 72.33 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.2781, allocations: 89.09 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.2784, allocations: 133.9 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2784, allocations: 0 / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0005949/0.279, allocations: 256.9 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.279, allocations: 55.41 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.2794, allocations: 333.7 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2794, allocations: 29.7 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2795, allocations: 223.7 kB / 1.085 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.2796, allocations: 59.19 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.2796, allocations: 25.72 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2797, allocations: 342.8 kB / 1.085 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2799, allocations: 75.95 kB / 1.085 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.2802, allocations: 153.3 kB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.2806, allocations: 252.5 kB / 1.086 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2806, allocations: 8 kB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005712/0.2812, allocations: 319.9 kB / 1.086 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.2812, allocations: 33.7 kB / 1.086 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2812, allocations: 7.938 kB / 1.086 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2812, allocations: 11.92 kB / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2815, allocations: 59.91 kB / 1.086 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2815, allocations: 4 kB / 1.086 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.2817, allocations: 39.77 kB / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.2818, allocations: 16 kB / 1.086 GB, free: 8.297 MB / 0.8419 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.0001476/0.2819, allocations: 161.7 kB / 1.086 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.282, allocations: 31.62 kB / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.2824, allocations: 216.4 kB / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2824, allocations: 4 kB / 1.087 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2824, allocations: 0 / 1.087 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004564/0.2829, allocations: 494.4 kB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.2833, allocations: 345.5 kB / 1.087 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2833, allocations: 4 kB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2835, allocations: 31.97 kB / 1.087 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2835, allocations: 0 / 1.087 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2835, allocations: 7.938 kB / 1.087 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2835, allocations: 0 / 1.087 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2835, allocations: 3.938 kB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.2841, allocations: 306 kB / 1.088 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2842, allocations: 128.7 kB / 1.088 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.2843, allocations: 3.938 kB / 1.088 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.2845, allocations: 27.97 kB / 1.088 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.2846, allocations: 19.92 kB / 1.088 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2846, allocations: 11.98 kB / 1.088 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002124/0.2848, allocations: 235.2 kB / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2848, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003684/0.2852, allocations: 120 kB / 1.088 GB, free: 6.012 MB / 0.8419 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.000987/0.2862, allocations: 0.9153 MB / 1.089 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.2867, allocations: 244.9 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2867, allocations: 3.938 kB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.2869, allocations: 80.53 kB / 1.089 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.2878, allocations: 200 kB / 1.09 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.2917, allocations: 3.232 MB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.292, allocations: 0.7918 MB / 1.094 GB, free: 356 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000227/0.2922, allocations: 67.23 kB / 1.094 GB, free: 284 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2924, allocations: 119.4 kB / 1.094 GB, free: 164 kB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2924, allocations: 0 / 1.094 GB, free: 164 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.779/2.071, allocations: 9.348 MB / 1.103 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/2.072, allocations: 204.9 kB / 1.103 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/3.903, allocations: 0 / 1.103 GB, free: 6.777 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)