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.006996/0.006996, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001879/0.001879, allocations: 203.3 kB / 16.68 MB, free: 5.973 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9482/0.9482, allocations: 135.5 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3366, allocations: 81.01 MB / 0.6648 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01285/0.3495, allocations: 14.44 MB / 0.679 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005006/0.3546, allocations: 3.637 MB / 0.6825 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.355, allocations: 20.5 kB / 0.6825 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.3555, allocations: 199.8 kB / 0.6827 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3568, allocations: 0.5814 MB / 0.6833 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.3576, allocations: 389.7 kB / 0.6837 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.3589, allocations: 1.104 MB / 0.6847 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.3593, allocations: 311.4 kB / 0.685 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.3602, allocations: 387.6 kB / 0.6854 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.3606, allocations: 315.1 kB / 0.6857 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.3607, allocations: 31.69 kB / 0.6857 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.3612, allocations: 258.1 kB / 0.686 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3613, allocations: 95.36 kB / 0.6861 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.3616, allocations: 209.7 kB / 0.6863 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008417/0.3624, allocations: 0.5989 MB / 0.6868 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3624, allocations: 0.9375 kB / 0.6868 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3625, allocations: 0 / 0.6868 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3625, allocations: 0 / 0.6868 GB, free: 5.344 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.001133/0.3636, allocations: 0.7666 MB / 0.6876 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3636, allocations: 12.72 kB / 0.6876 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.3637, allocations: 63.25 kB / 0.6877 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3639, allocations: 50.03 kB / 0.6877 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.3646, allocations: 468.2 kB / 0.6882 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3646, allocations: 20.72 kB / 0.6882 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.3647, allocations: 29.64 kB / 0.6882 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.3653, allocations: 312.5 kB / 0.6885 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3653, allocations: 5.391 kB / 0.6885 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.3653, allocations: 10.41 kB / 0.6885 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.3654, allocations: 6.625 kB / 0.6885 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.3658, allocations: 194.4 kB / 0.6887 GB, free: 3.832 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.001773/0.3676, allocations: 1.492 MB / 0.6902 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.3681, allocations: 154.2 kB / 0.6903 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.3683, allocations: 68.72 kB / 0.6904 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.3684, allocations: 92.16 kB / 0.6905 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.3687, allocations: 128.5 kB / 0.6906 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.3687, allocations: 0 / 0.6906 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006255/0.3693, allocations: 241.2 kB / 0.6908 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3694, allocations: 62.03 kB / 0.6909 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.3698, allocations: 349.3 kB / 0.6912 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3698, allocations: 32.42 kB / 0.6913 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.37, allocations: 216.7 kB / 0.6915 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.37, allocations: 58.92 kB / 0.6915 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.3701, allocations: 57.38 kB / 0.6916 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3703, allocations: 342.3 kB / 0.6919 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3705, allocations: 76.36 kB / 0.692 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.3707, allocations: 140.8 kB / 0.6921 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3712, allocations: 249.6 kB / 0.6923 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3712, allocations: 1.188 kB / 0.6923 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005998/0.3718, allocations: 317.1 kB / 0.6926 GB, free: 492 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.3719, allocations: 36.77 kB / 0.6927 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3719, allocations: 2.25 kB / 0.6927 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3719, allocations: 4.656 kB / 0.6927 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.3721, allocations: 53.38 kB / 0.6927 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3721, allocations: 4.875 kB / 0.6927 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.3724, allocations: 31.42 kB / 0.6928 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3724, allocations: 17.61 kB / 0.6928 GB, free: 416 kB / 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.0001638/0.3726, allocations: 161.7 kB / 0.6929 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.3727, allocations: 44.17 kB / 0.693 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.3731, allocations: 191.1 kB / 0.6932 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3731, allocations: 2.312 kB / 0.6932 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3731, allocations: 0 / 0.6932 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005328/0.3737, allocations: 483.9 kB / 0.6936 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.3741, allocations: 358.4 kB / 0.694 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3741, allocations: 5.281 kB / 0.694 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3743, allocations: 31 kB / 0.694 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3743, allocations: 1.031 kB / 0.694 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3743, allocations: 5.062 kB / 0.694 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3743, allocations: 5.156 kB / 0.694 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3743, allocations: 0 / 0.694 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.3749, allocations: 298.8 kB / 0.6943 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3751, allocations: 126.8 kB / 0.6944 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3751, allocations: 2.969 kB / 0.6944 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.3754, allocations: 14.45 kB / 0.6944 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.3754, allocations: 22.25 kB / 0.6945 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3755, allocations: 2.719 kB / 0.6945 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002483/0.3757, allocations: 247.5 kB / 0.6947 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3757, allocations: 4 kB / 0.6947 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004069/0.3761, allocations: 134.3 kB / 0.6948 GB, free: 14.75 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.0011/0.3772, allocations: 0.9135 MB / 0.6957 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.3777, allocations: 227.2 kB / 0.6959 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3777, allocations: 1.344 kB / 0.6959 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3779, allocations: 74.23 kB / 0.696 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.3789, allocations: 211.2 kB / 0.6962 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.383, allocations: 3.075 MB / 0.6992 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3834, allocations: 0.796 MB / 0.7 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3836, allocations: 59.97 kB / 0.7001 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3838, allocations: 113.7 kB / 0.7002 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of SimCode: time 2.124e-06/0.3838, allocations: 0 / 0.7002 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4594/0.8432, allocations: 10.23 MB / 0.7102 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.159/10, allocations: 10.22 kB / 0.7102 GB, free: 1.844 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)