Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_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.001097/0.001097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001127/0.001127, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7232/0.7232, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 66.95 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1281, allocations: 80.2 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01412/0.1423, allocations: 14.38 MB / 0.5937 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00436/0.1467, allocations: 3.601 MB / 0.5972 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.1471, allocations: 15.94 kB / 0.5972 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.1477, allocations: 171.1 kB / 0.5974 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.1489, allocations: 0.5561 MB / 0.598 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.1497, allocations: 343.2 kB / 0.5983 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1509, allocations: 1.11 MB / 0.5994 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.1512, allocations: 324.8 kB / 0.5997 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007339/0.152, allocations: 389 kB / 0.6 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.1523, allocations: 314.6 kB / 0.6003 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.1524, allocations: 32 kB / 0.6004 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.1528, allocations: 263.4 kB / 0.6006 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.1529, allocations: 95.66 kB / 0.6007 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1531, allocations: 215 kB / 0.6009 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.1536, allocations: 0.588 MB / 0.6015 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1537, allocations: 0 / 0.6015 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1537, allocations: 3.938 kB / 0.6015 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.1537, allocations: 0 / 0.6015 GB, free: 2.578 MB / 0.4981 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.0009669/0.1547, allocations: 0.7535 MB / 0.6022 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1547, allocations: 8.031 kB / 0.6022 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.1548, allocations: 58.73 kB / 0.6023 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.1549, allocations: 56.36 kB / 0.6024 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.1555, allocations: 478.8 kB / 0.6028 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1556, allocations: 24.56 kB / 0.6028 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.1556, allocations: 24 kB / 0.6029 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.1561, allocations: 314.2 kB / 0.6032 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1562, allocations: 0 / 0.6032 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.1562, allocations: 12 kB / 0.6032 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1562, allocations: 12 kB / 0.6032 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.1567, allocations: 194 kB / 0.6034 GB, free: 0.5469 MB / 0.4981 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.2124/0.369, allocations: 1.474 MB / 0.6048 GB, free: 56.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.3694, allocations: 156.4 kB / 0.605 GB, free: 56.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3696, allocations: 65.58 kB / 0.605 GB, free: 56.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.3697, allocations: 90.27 kB / 0.6051 GB, free: 56.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.37, allocations: 131 kB / 0.6052 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/0.37, allocations: 4.562 kB / 0.6052 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005619/0.3706, allocations: 227 kB / 0.6054 GB, free: 56.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3706, allocations: 56.83 kB / 0.6055 GB, free: 56.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3709, allocations: 338.1 kB / 0.6058 GB, free: 56.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3709, allocations: 34.45 kB / 0.6059 GB, free: 56.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.371, allocations: 220.4 kB / 0.6061 GB, free: 56.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3711, allocations: 52.88 kB / 0.6061 GB, free: 56.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.3711, allocations: 52.97 kB / 0.6062 GB, free: 56.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.3712, allocations: 344.9 kB / 0.6065 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3714, allocations: 73.39 kB / 0.6066 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3715, allocations: 146 kB / 0.6067 GB, free: 55.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.3719, allocations: 245.7 kB / 0.6069 GB, free: 55.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3719, allocations: 0 / 0.6069 GB, free: 55.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004721/0.3724, allocations: 314 kB / 0.6072 GB, free: 55.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3724, allocations: 31.3 kB / 0.6073 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3724, allocations: 5.125 kB / 0.6073 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3724, allocations: 2.688 kB / 0.6073 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.3726, allocations: 60.47 kB / 0.6073 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3726, allocations: 6.844 kB / 0.6073 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3729, allocations: 45.23 kB / 0.6074 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3729, allocations: 13.94 kB / 0.6074 GB, free: 55.7 MB / 0.4981 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.0001122/0.3731, allocations: 162.7 kB / 0.6076 GB, free: 55.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.3731, allocations: 33.09 kB / 0.6076 GB, free: 55.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.3735, allocations: 192.3 kB / 0.6078 GB, free: 55.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3735, allocations: 2.875 kB / 0.6078 GB, free: 55.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3735, allocations: 1.094 kB / 0.6078 GB, free: 55.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003381/0.3739, allocations: 496.7 kB / 0.6082 GB, free: 54.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.3742, allocations: 351.5 kB / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3742, allocations: 3.281 kB / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.3744, allocations: 31.27 kB / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3744, allocations: 0 / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3744, allocations: 5.984 kB / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3744, allocations: 0 / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3744, allocations: 0 / 0.6086 GB, free: 54.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.3749, allocations: 294.8 kB / 0.6089 GB, free: 54.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.375, allocations: 124.9 kB / 0.609 GB, free: 54.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.3751, allocations: 7.375 kB / 0.609 GB, free: 54.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3753, allocations: 18.23 kB / 0.609 GB, free: 54.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.3753, allocations: 19.06 kB / 0.6091 GB, free: 54.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3754, allocations: 5.875 kB / 0.6091 GB, free: 54.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001674/0.3755, allocations: 243.8 kB / 0.6093 GB, free: 54.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3755, allocations: 1.75 kB / 0.6093 GB, free: 54.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003608/0.3759, allocations: 118 kB / 0.6094 GB, free: 54.31 MB / 0.4981 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.0007924/0.3767, allocations: 0.9006 MB / 0.6103 GB, free: 53.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3771, allocations: 242.2 kB / 0.6105 GB, free: 53.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3771, allocations: 1.938 kB / 0.6105 GB, free: 53.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3773, allocations: 72.17 kB / 0.6106 GB, free: 53.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.3781, allocations: 218.4 kB / 0.6108 GB, free: 53.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.3813, allocations: 3.139 MB / 0.6139 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.3815, allocations: 0.7911 MB / 0.6146 GB, free: 50.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.3817, allocations: 68.86 kB / 0.6147 GB, free: 50.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3819, allocations: 116.6 kB / 0.6148 GB, free: 50.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.3819, allocations: 0 / 0.6148 GB, free: 50.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4082/0.7901, allocations: 9.724 MB / 0.6243 GB, free: 49.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.7903, allocations: 179.6 kB / 0.6245 GB, free: 49.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.694, allocations: 0 / 0.6245 GB, free: 49.5 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)