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.001111/0.001111, allocations: 108 kB / 15.6 MB, free: 132 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.001123/0.001123, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7359/0.7359, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 60.73 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3559, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01613/0.3721, allocations: 14.43 MB / 0.5943 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.3777, allocations: 3.641 MB / 0.5978 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006128/0.3783, allocations: 20.25 kB / 0.5978 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.379, allocations: 205.4 kB / 0.598 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.3806, allocations: 0.5891 MB / 0.5986 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3816, allocations: 383.1 kB / 0.599 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.383, allocations: 1.096 MB / 0.6001 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.3834, allocations: 319.3 kB / 0.6004 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.3844, allocations: 398.8 kB / 0.6007 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.3848, allocations: 309.9 kB / 0.601 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.3849, allocations: 33.28 kB / 0.6011 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.3855, allocations: 256.9 kB / 0.6013 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3856, allocations: 100.1 kB / 0.6014 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.3859, allocations: 201.3 kB / 0.6016 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007587/0.3866, allocations: 0.5906 MB / 0.6022 GB, free: 5.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3866, allocations: 0 / 0.6022 GB, free: 5.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3866, allocations: 1.5 kB / 0.6022 GB, free: 5.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3867, allocations: 4 kB / 0.6022 GB, free: 5.059 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.001079/0.3877, allocations: 0.7495 MB / 0.6029 GB, free: 4.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3878, allocations: 9.562 kB / 0.6029 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/0.3879, allocations: 60.55 kB / 0.603 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.388, allocations: 48.42 kB / 0.603 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.3887, allocations: 450.7 kB / 0.6035 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3887, allocations: 20.56 kB / 0.6035 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.3888, allocations: 33.02 kB / 0.6035 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.3893, allocations: 301.8 kB / 0.6038 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3894, allocations: 0 / 0.6038 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.3894, allocations: 11.56 kB / 0.6038 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3894, allocations: 15.17 kB / 0.6038 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.3899, allocations: 198.8 kB / 0.604 GB, free: 3.582 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.00169/0.3916, allocations: 1.492 MB / 0.6055 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.392, allocations: 154 kB / 0.6056 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.3922, allocations: 70.53 kB / 0.6057 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.3924, allocations: 83.83 kB / 0.6058 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.3927, allocations: 135.2 kB / 0.6059 GB, free: 1.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3927, allocations: 0 / 0.6059 GB, free: 1.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006211/0.3933, allocations: 229.7 kB / 0.6061 GB, free: 1.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3934, allocations: 62.73 kB / 0.6062 GB, free: 1.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.3937, allocations: 345.4 kB / 0.6065 GB, free: 1.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.3937, allocations: 35.89 kB / 0.6065 GB, free: 1.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3939, allocations: 216.2 kB / 0.6067 GB, free: 1.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.394, allocations: 54.7 kB / 0.6068 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.394, allocations: 56.48 kB / 0.6068 GB, free: 1.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3942, allocations: 342.8 kB / 0.6072 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3944, allocations: 73.3 kB / 0.6072 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.3946, allocations: 143.7 kB / 0.6074 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.395, allocations: 245.9 kB / 0.6076 GB, free: 452 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.395, allocations: 0 / 0.6076 GB, free: 452 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005974/0.3956, allocations: 326.6 kB / 0.6079 GB, free: 252 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.3957, allocations: 33.17 kB / 0.608 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3957, allocations: 6.625 kB / 0.608 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3957, allocations: 4.531 kB / 0.608 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3959, allocations: 53.03 kB / 0.608 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.396, allocations: 4.125 kB / 0.608 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.3962, allocations: 35.73 kB / 0.6081 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3963, allocations: 17.66 kB / 0.6081 GB, free: 172 kB / 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 (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.0001601/0.3964, allocations: 159 kB / 0.6082 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3965, allocations: 36.25 kB / 0.6083 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.397, allocations: 195.4 kB / 0.6084 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.397, allocations: 2.25 kB / 0.6084 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.397, allocations: 0 / 0.6084 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004923/0.3975, allocations: 490.2 kB / 0.6089 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.3979, allocations: 355.3 kB / 0.6093 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3979, allocations: 0 / 0.6093 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3981, allocations: 39.44 kB / 0.6093 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3981, allocations: 1.031 kB / 0.6093 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3982, allocations: 5.438 kB / 0.6093 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3982, allocations: 1.25 kB / 0.6093 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3982, allocations: 0 / 0.6093 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.3988, allocations: 284.6 kB / 0.6096 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.399, allocations: 129.2 kB / 0.6097 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.399, allocations: 5.203 kB / 0.6097 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.3993, allocations: 20.45 kB / 0.6097 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3993, allocations: 18.88 kB / 0.6097 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3994, allocations: 9.938 kB / 0.6097 GB, free: 14.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.3996, allocations: 250.7 kB / 0.61 GB, free: 14.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3996, allocations: 0 / 0.61 GB, free: 14.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.4001, allocations: 123.4 kB / 0.6101 GB, free: 14.52 MB / 462.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 (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.00111/0.4012, allocations: 0.9193 MB / 0.611 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.4017, allocations: 231.1 kB / 0.6112 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4018, allocations: 0 / 0.6112 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.4019, allocations: 68.89 kB / 0.6113 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.4029, allocations: 224 kB / 0.6115 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.4072, allocations: 3.067 MB / 0.6145 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4076, allocations: 0.7881 MB / 0.6153 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.4079, allocations: 68.31 kB / 0.6153 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.4081, allocations: 117.8 kB / 0.6154 GB, free: 10.32 MB / 462.1 MB Notification: Performance of SimCode: time 2.205e-06/0.4081, allocations: 0 / 0.6154 GB, free: 10.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4111/0.8192, allocations: 10.14 MB / 0.6253 GB, free: 2.672 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.915, allocations: 19.77 kB / 0.6254 GB, free: 2.652 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/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)