Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_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.005368/0.005368, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001295/0.001295, allocations: 198.5 kB / 16.67 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9535/0.9535, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4408, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01297/0.4538, allocations: 14.43 MB / 0.6782 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.4591, allocations: 3.645 MB / 0.6818 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.4596, allocations: 20.62 kB / 0.6818 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.4603, allocations: 203 kB / 0.682 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.4619, allocations: 0.5822 MB / 0.6826 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.4629, allocations: 392.2 kB / 0.6829 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4643, allocations: 1.095 MB / 0.684 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.4647, allocations: 310.2 kB / 0.6843 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009892/0.4657, allocations: 414.4 kB / 0.6847 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.4662, allocations: 301.5 kB / 0.685 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.4663, allocations: 33.19 kB / 0.685 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.4669, allocations: 256.4 kB / 0.6853 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.467, allocations: 96.67 kB / 0.6854 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.4673, allocations: 217.1 kB / 0.6856 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.4683, allocations: 0.5954 MB / 0.6862 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4683, allocations: 0 / 0.6862 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4683, allocations: 0 / 0.6862 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4683, allocations: 4 kB / 0.6862 GB, free: 5.773 MB / 0.5137 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.001424/0.4698, allocations: 0.7472 MB / 0.6869 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4698, allocations: 10.06 kB / 0.6869 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.4699, allocations: 58.38 kB / 0.687 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.4701, allocations: 50.16 kB / 0.687 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.4709, allocations: 468.4 kB / 0.6874 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.4709, allocations: 18.59 kB / 0.6875 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.471, allocations: 31.19 kB / 0.6875 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.4716, allocations: 304.1 kB / 0.6878 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4716, allocations: 9.266 kB / 0.6878 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.4716, allocations: 6.688 kB / 0.6878 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.4717, allocations: 11.06 kB / 0.6878 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.4721, allocations: 195 kB / 0.688 GB, free: 4.293 MB / 0.5137 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.001871/0.474, allocations: 1.481 MB / 0.6894 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.4745, allocations: 152.7 kB / 0.6896 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.4747, allocations: 74.97 kB / 0.6897 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.4748, allocations: 92.12 kB / 0.6897 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.4752, allocations: 127.3 kB / 0.6899 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 4.469e-06/0.4752, allocations: 0 / 0.6899 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006792/0.4759, allocations: 241.9 kB / 0.6901 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4759, allocations: 52.84 kB / 0.6901 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.4763, allocations: 354.1 kB / 0.6905 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.4764, allocations: 31.27 kB / 0.6905 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4765, allocations: 217.1 kB / 0.6907 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.4766, allocations: 55.28 kB / 0.6908 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.4767, allocations: 48.11 kB / 0.6908 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4768, allocations: 346.2 kB / 0.6912 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.477, allocations: 69.86 kB / 0.6912 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.4773, allocations: 148.8 kB / 0.6914 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.4777, allocations: 241.9 kB / 0.6916 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4777, allocations: 5.062 kB / 0.6916 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006099/0.4783, allocations: 321.1 kB / 0.6919 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.4784, allocations: 32.36 kB / 0.6919 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4784, allocations: 2.344 kB / 0.6919 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4784, allocations: 4.438 kB / 0.6919 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.4787, allocations: 57.5 kB / 0.692 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4787, allocations: 8.547 kB / 0.692 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.479, allocations: 32.47 kB / 0.692 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.479, allocations: 16.05 kB / 0.692 GB, free: 0.8789 MB / 0.5137 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.0001651/0.4792, allocations: 156.6 kB / 0.6922 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.4792, allocations: 35.16 kB / 0.6922 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.4797, allocations: 192.1 kB / 0.6924 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4797, allocations: 1.438 kB / 0.6924 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4797, allocations: 5.125 kB / 0.6924 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004961/0.4802, allocations: 490.5 kB / 0.6929 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.4807, allocations: 354.9 kB / 0.6932 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4807, allocations: 3.938 kB / 0.6932 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.4809, allocations: 36 kB / 0.6933 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4809, allocations: 1.094 kB / 0.6933 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4809, allocations: 1.25 kB / 0.6933 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4809, allocations: 5.234 kB / 0.6933 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4809, allocations: 0 / 0.6933 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.4816, allocations: 291.8 kB / 0.6936 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4817, allocations: 129.1 kB / 0.6937 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.4818, allocations: 6.406 kB / 0.6937 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.482, allocations: 11.45 kB / 0.6937 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.4821, allocations: 19.72 kB / 0.6937 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.4821, allocations: 12.81 kB / 0.6937 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002613/0.4824, allocations: 251.8 kB / 0.694 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4824, allocations: 0 / 0.694 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004672/0.4829, allocations: 127.9 kB / 0.6941 GB, free: 15.23 MB / 0.5294 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.001121/0.484, allocations: 0.921 MB / 0.695 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.4845, allocations: 223.5 kB / 0.6952 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4845, allocations: 0 / 0.6952 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.4847, allocations: 72.69 kB / 0.6953 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.4857, allocations: 212.8 kB / 0.6955 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.4898, allocations: 3.06 MB / 0.6985 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.4901, allocations: 0.7914 MB / 0.6992 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.4904, allocations: 72.3 kB / 0.6993 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.4906, allocations: 119.1 kB / 0.6994 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.4906, allocations: 3.938 kB / 0.6994 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.5248, allocations: 10.37 MB / 0.7095 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.937, allocations: 3.938 kB / 0.7096 GB, free: 2.426 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)