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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001146/0.001146, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.34 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01515/0.264, allocations: 14.4 MB / 1.066 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.2687, allocations: 3.67 MB / 1.07 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.2692, allocations: 15.94 kB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.2698, allocations: 171.1 kB / 1.07 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.271, allocations: 0.5444 MB / 1.071 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.2719, allocations: 353 kB / 1.071 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.2733, allocations: 1.469 MB / 1.072 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.2738, allocations: 268.6 kB / 1.073 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.2743, allocations: 326.5 kB / 1.073 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.2747, allocations: 306.6 kB / 1.073 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.2748, allocations: 20 kB / 1.073 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.2753, allocations: 239.4 kB / 1.073 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2754, allocations: 87.66 kB / 1.074 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.2757, allocations: 194.9 kB / 1.074 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.2763, allocations: 0.5763 MB / 1.074 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2763, allocations: 0 / 1.074 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2764, allocations: 0 / 1.074 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.2764, allocations: 0 / 1.074 GB, free: 1.504 MB / 0.8262 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.001115/0.2775, allocations: 0.7496 MB / 1.075 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2775, allocations: 15.97 kB / 1.075 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.2776, allocations: 58.73 kB / 1.075 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.2778, allocations: 48.45 kB / 1.075 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.2785, allocations: 471.8 kB / 1.076 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2785, allocations: 24.5 kB / 1.076 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.2786, allocations: 28 kB / 1.076 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.2791, allocations: 306.3 kB / 1.076 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2791, allocations: 11.84 kB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.2792, allocations: 8 kB / 1.076 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2792, allocations: 11.94 kB / 1.076 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.2797, allocations: 202 kB / 1.076 GB, free: 15.46 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.001654/0.2813, allocations: 1.469 MB / 1.078 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.2817, allocations: 162.5 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2819, allocations: 68.8 kB / 1.078 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.2821, allocations: 85.11 kB / 1.078 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.2824, allocations: 127.3 kB / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2824, allocations: 0 / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006005/0.283, allocations: 234.9 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.283, allocations: 59.34 kB / 1.078 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.2834, allocations: 341.6 kB / 1.079 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2834, allocations: 33.7 kB / 1.079 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2835, allocations: 215.7 kB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.2836, allocations: 55.2 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.2837, allocations: 53.7 kB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2838, allocations: 342.8 kB / 1.079 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.284, allocations: 67.95 kB / 1.079 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.2842, allocations: 141.4 kB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2847, allocations: 248.6 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2847, allocations: 4 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005667/0.2852, allocations: 305.1 kB / 1.08 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.2853, allocations: 34.95 kB / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2853, allocations: 4 kB / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2853, allocations: 7.938 kB / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.2855, allocations: 63.89 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2856, allocations: 11.92 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.2858, allocations: 31.73 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2859, allocations: 16 kB / 1.08 GB, free: 11.03 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.000154/0.286, allocations: 165.7 kB / 1.08 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.2861, allocations: 31.62 kB / 1.08 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.2865, allocations: 196.5 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2865, allocations: 0 / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2865, allocations: 0 / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004555/0.287, allocations: 493.3 kB / 1.081 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.2874, allocations: 349.3 kB / 1.081 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2874, allocations: 7.938 kB / 1.081 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2876, allocations: 31.97 kB / 1.081 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2876, allocations: 4 kB / 1.081 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2876, allocations: 3.938 kB / 1.081 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2876, allocations: 0 / 1.081 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2876, allocations: 0 / 1.081 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.2882, allocations: 291.7 kB / 1.082 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2884, allocations: 124.7 kB / 1.082 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.2884, allocations: 11.94 kB / 1.082 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2887, allocations: 11.98 kB / 1.082 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.2887, allocations: 19.97 kB / 1.082 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.2887, allocations: 4 kB / 1.082 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002237/0.289, allocations: 243.2 kB / 1.082 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.289, allocations: 0 / 1.082 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003882/0.2894, allocations: 127.9 kB / 1.082 GB, free: 8.777 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.001002/0.2904, allocations: 0.897 MB / 1.083 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.2908, allocations: 235.1 kB / 1.083 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2908, allocations: 0 / 1.083 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.291, allocations: 71.89 kB / 1.083 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.2919, allocations: 197.5 kB / 1.084 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.2959, allocations: 3.137 MB / 1.087 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2962, allocations: 0.7957 MB / 1.087 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002674/0.2965, allocations: 63.2 kB / 1.087 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.2967, allocations: 115.4 kB / 1.088 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2967, allocations: 0 / 1.088 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7443/1.041, allocations: 9.447 MB / 1.097 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/1.041, allocations: 205.1 kB / 1.097 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.276, allocations: 0 / 1.097 GB, free: 9.562 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)