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.001357/0.001357, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001662/0.001663, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.201/2.201, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.239/1.239, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006498/0.0006499, allocations: 11.98 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8217, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.02706/0.8488, allocations: 12.13 MB / 0.5948 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.8598, allocations: 3.17 MB / 0.5979 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.8613, allocations: 16.78 kB / 0.5979 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.8628, allocations: 196.7 kB / 0.5981 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.8671, allocations: 0.5822 MB / 0.5987 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.8704, allocations: 466.8 kB / 0.5991 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.8733, allocations: 0.6492 MB / 0.5998 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.8741, allocations: 248.2 kB / 0.6 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009123/0.875, allocations: 278.1 kB / 0.6003 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.8755, allocations: 199.2 kB / 0.6004 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.8756, allocations: 14.31 kB / 0.6005 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.8766, allocations: 168 kB / 0.6006 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.8767, allocations: 72.17 kB / 0.6007 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.8769, allocations: 99.8 kB / 0.6008 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.8776, allocations: 423.6 kB / 0.6012 GB, free: 7.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8776, allocations: 0 / 0.6012 GB, free: 7.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.8777, allocations: 0 / 0.6012 GB, free: 7.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.8777, allocations: 0 / 0.6012 GB, free: 7.461 MB / 446.1 MB 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.001524/0.8792, allocations: 0.6826 MB / 0.6019 GB, free: 6.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/0.8793, allocations: 12.41 kB / 0.6019 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.645e-05/0.8794, allocations: 63.91 kB / 0.6019 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.8796, allocations: 44.75 kB / 0.602 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008348/0.8805, allocations: 427.3 kB / 0.6024 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.8805, allocations: 18.88 kB / 0.6024 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.8806, allocations: 29.48 kB / 0.6024 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.8813, allocations: 310.9 kB / 0.6027 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.8813, allocations: 3.938 kB / 0.6027 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.8814, allocations: 11.16 kB / 0.6027 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.8814, allocations: 7.5 kB / 0.6027 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.882, allocations: 206.1 kB / 0.6029 GB, free: 6.051 MB / 446.1 MB 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.002233/0.8842, allocations: 1.508 MB / 0.6044 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.8847, allocations: 163.2 kB / 0.6046 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.885, allocations: 91.62 kB / 0.6047 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.8854, allocations: 132.2 kB / 0.6048 GB, free: 4.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.043e-06/0.8854, allocations: 4 kB / 0.6048 GB, free: 4.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007525/0.8861, allocations: 247.7 kB / 0.605 GB, free: 4.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.8862, allocations: 58.03 kB / 0.6051 GB, free: 4.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.8867, allocations: 360.3 kB / 0.6054 GB, free: 3.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.8868, allocations: 34.98 kB / 0.6055 GB, free: 3.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.887, allocations: 216.7 kB / 0.6057 GB, free: 3.715 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.8871, allocations: 49.88 kB / 0.6057 GB, free: 3.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.8871, allocations: 6.719 kB / 0.6057 GB, free: 3.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.8873, allocations: 345.4 kB / 0.606 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.8875, allocations: 76.98 kB / 0.6061 GB, free: 3.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.8878, allocations: 143.9 kB / 0.6063 GB, free: 3.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.8881, allocations: 127 kB / 0.6064 GB, free: 3.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8881, allocations: 1.25 kB / 0.6064 GB, free: 3.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007074/0.8888, allocations: 322.6 kB / 0.6067 GB, free: 2.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.8889, allocations: 36.27 kB / 0.6067 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.8889, allocations: 7.094 kB / 0.6067 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.8889, allocations: 4.406 kB / 0.6067 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.8892, allocations: 55.78 kB / 0.6068 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.8892, allocations: 11.83 kB / 0.6068 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.8896, allocations: 49.81 kB / 0.6068 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.8896, allocations: 13.06 kB / 0.6069 GB, free: 2.809 MB / 446.1 MB 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.0002252/0.8898, allocations: 158.3 kB / 0.607 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.8899, allocations: 31.59 kB / 0.607 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.8904, allocations: 205.5 kB / 0.6072 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8904, allocations: 1.938 kB / 0.6072 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8905, allocations: 0 / 0.6072 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006152/0.8911, allocations: 500 kB / 0.6077 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.8917, allocations: 358.5 kB / 0.608 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8917, allocations: 1.562 kB / 0.6081 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.8919, allocations: 33.31 kB / 0.6081 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8919, allocations: 1.406 kB / 0.6081 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.8919, allocations: 5.469 kB / 0.6081 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8919, allocations: 3.938 kB / 0.6081 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8919, allocations: 1.188 kB / 0.6081 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.8926, allocations: 308.4 kB / 0.6084 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.8928, allocations: 137.9 kB / 0.6085 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.8929, allocations: 1.062 kB / 0.6085 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.8932, allocations: 32.77 kB / 0.6086 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.8932, allocations: 14.8 kB / 0.6086 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.8933, allocations: 8.922 kB / 0.6086 GB, free: 1.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003703/0.8936, allocations: 252.3 kB / 0.6088 GB, free: 1.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8937, allocations: 0 / 0.6088 GB, free: 1.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.8942, allocations: 132 kB / 0.6089 GB, free: 1.152 MB / 446.1 MB 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.001446/0.8957, allocations: 0.9292 MB / 0.6098 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006307/0.8963, allocations: 243.8 kB / 0.6101 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8963, allocations: 4.125 kB / 0.6101 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.8966, allocations: 72.75 kB / 0.6102 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.8976, allocations: 186.8 kB / 0.6103 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.903, allocations: 3.685 MB / 0.6139 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.9037, allocations: 0.8051 MB / 0.6147 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.9041, allocations: 67.53 kB / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.9043, allocations: 118.3 kB / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.9043, allocations: 0 / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.9383, allocations: 10.06 MB / 0.6247 GB, free: 5.305 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.9387, allocations: 168 kB / 0.6249 GB, free: 5.059 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/4.135, allocations: 0 / 0.6249 GB, free: 5.059 MB / 462.1 MB (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/linux/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) Environment - environmentSimulation: