Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 194.2 kB / 326.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 88.44 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 7.531 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 106.4 MB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01258/0.2318, allocations: 12.13 MB / 0.912 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.2363, allocations: 3.148 MB / 0.9151 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.2368, allocations: 15.88 kB / 0.9151 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.2375, allocations: 195 kB / 0.9153 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.2388, allocations: 0.5726 MB / 0.9158 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2398, allocations: 440.3 kB / 0.9162 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.2405, allocations: 0.6322 MB / 0.9169 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.2409, allocations: 238.2 kB / 0.9171 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2412, allocations: 267 kB / 0.9173 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.2414, allocations: 191.1 kB / 0.9175 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.2415, allocations: 16 kB / 0.9175 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.2418, allocations: 171.8 kB / 0.9177 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.2419, allocations: 63.75 kB / 0.9178 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.242, allocations: 105.5 kB / 0.9179 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.2424, allocations: 419.2 kB / 0.9183 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.2424, allocations: 4 kB / 0.9183 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2424, allocations: 0 / 0.9183 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2424, allocations: 0 / 0.9183 GB, free: 45.54 MB / 0.6042 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.0008977/0.2433, allocations: 0.6639 MB / 0.9189 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2433, allocations: 8.031 kB / 0.9189 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.2434, allocations: 62.53 kB / 0.919 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.2436, allocations: 47.53 kB / 0.919 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.2441, allocations: 418 kB / 0.9194 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2441, allocations: 16.56 kB / 0.9195 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.2442, allocations: 35.92 kB / 0.9195 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.2447, allocations: 306.2 kB / 0.9198 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2447, allocations: 7.906 kB / 0.9198 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.2447, allocations: 8 kB / 0.9198 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2447, allocations: 8 kB / 0.9198 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.2452, allocations: 210 kB / 0.92 GB, free: 43.64 MB / 0.6042 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.001477/0.2467, allocations: 1.493 MB / 0.9215 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.2471, allocations: 174.6 kB / 0.9216 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.2473, allocations: 81.11 kB / 0.9217 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.2475, allocations: 131.2 kB / 0.9218 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2475, allocations: 0 / 0.9218 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005738/0.2481, allocations: 255.6 kB / 0.9221 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2482, allocations: 59.34 kB / 0.9221 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.2485, allocations: 349.7 kB / 0.9225 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2485, allocations: 29.7 kB / 0.9225 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2486, allocations: 215.7 kB / 0.9227 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.2486, allocations: 55.25 kB / 0.9227 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.2487, allocations: 4 kB / 0.9228 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.2487, allocations: 350.8 kB / 0.9231 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.2489, allocations: 75.95 kB / 0.9232 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2491, allocations: 153.3 kB / 0.9233 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.2494, allocations: 117.7 kB / 0.9234 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2494, allocations: 0 / 0.9234 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004869/0.2499, allocations: 323.9 kB / 0.9237 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.2499, allocations: 33.7 kB / 0.9238 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2499, allocations: 8 kB / 0.9238 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.25, allocations: 4 kB / 0.9238 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2502, allocations: 55.91 kB / 0.9238 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2502, allocations: 4 kB / 0.9238 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.2504, allocations: 47.8 kB / 0.9239 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2505, allocations: 19.98 kB / 0.9239 GB, free: 39.39 MB / 0.6042 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.000127/0.2506, allocations: 161.7 kB / 0.924 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.2506, allocations: 31.62 kB / 0.9241 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.2511, allocations: 204.5 kB / 0.9243 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2511, allocations: 0 / 0.9243 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2511, allocations: 0 / 0.9243 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003743/0.2515, allocations: 0.4906 MB / 0.9247 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2518, allocations: 353.4 kB / 0.9251 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2518, allocations: 0 / 0.9251 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.252, allocations: 27.98 kB / 0.9251 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.252, allocations: 7.938 kB / 0.9251 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.252, allocations: 3.984 kB / 0.9251 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.252, allocations: 0 / 0.9251 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.252, allocations: 3.984 kB / 0.9251 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.2526, allocations: 300.4 kB / 0.9254 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2527, allocations: 140.7 kB / 0.9255 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.2527, allocations: 4 kB / 0.9256 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.253, allocations: 31.84 kB / 0.9256 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.253, allocations: 15.97 kB / 0.9256 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.2531, allocations: 8 kB / 0.9256 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001895/0.2533, allocations: 251.2 kB / 0.9258 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2533, allocations: 0 / 0.9258 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003867/0.2537, allocations: 128 kB / 0.926 GB, free: 37.06 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008743/0.2545, allocations: 0.9164 MB / 0.9269 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.255, allocations: 244 kB / 0.9271 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.255, allocations: 3.938 kB / 0.9271 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2551, allocations: 79.89 kB / 0.9272 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.2559, allocations: 195.3 kB / 0.9274 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.2589, allocations: 3.646 MB / 0.9309 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2591, allocations: 0.7959 MB / 0.9317 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.2594, allocations: 71.17 kB / 0.9318 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.2595, allocations: 115.4 kB / 0.9319 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2595, allocations: 3.938 kB / 0.9319 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.2791, allocations: 9.952 MB / 0.9416 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.2792, allocations: 183.7 kB / 0.9418 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.54, allocations: 3.938 kB / 0.9418 GB, free: 20.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)