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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_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.001118/0.001118, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 186.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 74.06 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.232, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01529/0.2473, allocations: 14.44 MB / 0.7977 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.2525, allocations: 3.613 MB / 0.8013 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/0.2529, allocations: 19.88 kB / 0.8013 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.2536, allocations: 198.7 kB / 0.8015 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.255, allocations: 0.583 MB / 0.802 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.2559, allocations: 386.3 kB / 0.8024 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.2572, allocations: 1.078 MB / 0.8035 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.2577, allocations: 315.8 kB / 0.8038 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.2587, allocations: 386.5 kB / 0.8041 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.2591, allocations: 306.6 kB / 0.8044 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.2592, allocations: 32 kB / 0.8045 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.2597, allocations: 259.5 kB / 0.8047 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2599, allocations: 99.56 kB / 0.8048 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2601, allocations: 215 kB / 0.805 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.2609, allocations: 0.5803 MB / 0.8056 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2609, allocations: 0 / 0.8056 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2609, allocations: 0 / 0.8056 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2609, allocations: 8 kB / 0.8056 GB, free: 6.711 MB / 0.6231 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.001244/0.2621, allocations: 0.7417 MB / 0.8063 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001157/0.2623, allocations: 12.03 kB / 0.8063 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.63e-05/0.2623, allocations: 62.67 kB / 0.8064 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.2625, allocations: 48.45 kB / 0.8064 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.2632, allocations: 455.1 kB / 0.8069 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2633, allocations: 20.69 kB / 0.8069 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.2633, allocations: 28 kB / 0.8069 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.2639, allocations: 310.2 kB / 0.8072 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.264, allocations: 7.938 kB / 0.8072 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.264, allocations: 8 kB / 0.8072 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.264, allocations: 8 kB / 0.8072 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.2645, allocations: 198 kB / 0.8074 GB, free: 4.715 MB / 0.6231 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.001759/0.2662, allocations: 1.473 MB / 0.8088 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.2667, allocations: 158.6 kB / 0.809 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.2669, allocations: 72.81 kB / 0.8091 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.267, allocations: 85.11 kB / 0.8091 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.2674, allocations: 135.2 kB / 0.8093 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.2674, allocations: 0 / 0.8093 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006011/0.268, allocations: 232.2 kB / 0.8095 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.268, allocations: 63.28 kB / 0.8096 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.2684, allocations: 341.7 kB / 0.8099 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2684, allocations: 29.7 kB / 0.8099 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.2686, allocations: 219.7 kB / 0.8101 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.2686, allocations: 47.3 kB / 0.8102 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.2687, allocations: 57.61 kB / 0.8102 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2689, allocations: 342.8 kB / 0.8105 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2691, allocations: 75.95 kB / 0.8106 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.2693, allocations: 145.4 kB / 0.8108 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.2698, allocations: 246.9 kB / 0.811 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2698, allocations: 0 / 0.811 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005517/0.2703, allocations: 317.3 kB / 0.8113 GB, free: 432 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.2704, allocations: 29.7 kB / 0.8113 GB, free: 396 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2704, allocations: 4 kB / 0.8113 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2704, allocations: 11.88 kB / 0.8113 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2706, allocations: 59.89 kB / 0.8114 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2706, allocations: 3.938 kB / 0.8114 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.2709, allocations: 39.77 kB / 0.8114 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2709, allocations: 12 kB / 0.8115 GB, free: 264 kB / 0.6231 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.0002141/0.2711, allocations: 157.9 kB / 0.8116 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.2712, allocations: 35.61 kB / 0.8116 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.2717, allocations: 188.5 kB / 0.8118 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2717, allocations: 3.938 kB / 0.8118 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2717, allocations: 0 / 0.8118 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004701/0.2722, allocations: 487.7 kB / 0.8123 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.2726, allocations: 357.3 kB / 0.8126 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2726, allocations: 0 / 0.8126 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2728, allocations: 31.97 kB / 0.8127 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2728, allocations: 0 / 0.8127 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2728, allocations: 8 kB / 0.8127 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2728, allocations: 7.875 kB / 0.8127 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2728, allocations: 0 / 0.8127 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.2734, allocations: 290.4 kB / 0.8129 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2735, allocations: 124.8 kB / 0.8131 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.2736, allocations: 4 kB / 0.8131 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2738, allocations: 23.91 kB / 0.8131 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.2739, allocations: 11.97 kB / 0.8131 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2739, allocations: 12 kB / 0.8131 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002409/0.2742, allocations: 247.2 kB / 0.8134 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2742, allocations: 0 / 0.8134 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000418/0.2746, allocations: 128 kB / 0.8135 GB, free: 14 MB / 0.6387 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.001064/0.2757, allocations: 0.9047 MB / 0.8144 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.2761, allocations: 227.2 kB / 0.8146 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2761, allocations: 0 / 0.8146 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.2763, allocations: 75.88 kB / 0.8146 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.2772, allocations: 220.1 kB / 0.8149 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.2814, allocations: 3.021 MB / 0.8178 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2818, allocations: 0.7918 MB / 0.8186 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.282, allocations: 79.05 kB / 0.8187 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.2822, allocations: 115.4 kB / 0.8188 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.2822, allocations: 0 / 0.8188 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.3143, allocations: 10.09 MB / 0.8286 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.049, allocations: 11.86 kB / 0.8286 GB, free: 14.48 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)