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.001/0.001005, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005357/0.005357, allocations: 170 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7204/0.7204, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 8 kB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3618, allocations: 81.57 MB / 0.5837 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01338/0.3752, allocations: 13.89 MB / 0.5973 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005532/0.3808, allocations: 3.625 MB / 0.6008 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.3812, allocations: 13.78 kB / 0.6009 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.3817, allocations: 164.2 kB / 0.601 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.383, allocations: 0.5554 MB / 0.6016 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.3838, allocations: 347.4 kB / 0.6019 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3852, allocations: 1.468 MB / 0.6033 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.3856, allocations: 261 kB / 0.6036 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.386, allocations: 319.9 kB / 0.6039 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.3863, allocations: 299.3 kB / 0.6042 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.3864, allocations: 13.81 kB / 0.6042 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.3868, allocations: 245.1 kB / 0.6044 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.3869, allocations: 72.52 kB / 0.6045 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3871, allocations: 213.5 kB / 0.6047 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.3877, allocations: 0.5693 MB / 0.6052 GB, free: 4.715 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3877, allocations: 0 / 0.6052 GB, free: 4.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3877, allocations: 0 / 0.6052 GB, free: 4.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3877, allocations: 4 kB / 0.6052 GB, free: 4.711 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.0009262/0.3886, allocations: 0.685 MB / 0.6059 GB, free: 4.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3887, allocations: 9 kB / 0.6059 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/0.3887, allocations: 59.97 kB / 0.606 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3889, allocations: 48.91 kB / 0.606 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.3895, allocations: 481 kB / 0.6065 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3896, allocations: 19.5 kB / 0.6065 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.3896, allocations: 25.5 kB / 0.6065 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.3902, allocations: 318.6 kB / 0.6068 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3902, allocations: 3.906 kB / 0.6068 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.3902, allocations: 12.06 kB / 0.6068 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3902, allocations: 6.375 kB / 0.6068 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.3907, allocations: 204.4 kB / 0.607 GB, free: 3.266 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.001634/0.3923, allocations: 1.492 MB / 0.6085 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.3928, allocations: 168.3 kB / 0.6087 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.393, allocations: 74.19 kB / 0.6087 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.3931, allocations: 88 kB / 0.6088 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.3934, allocations: 138.6 kB / 0.6089 GB, free: 1.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3934, allocations: 0.875 kB / 0.6089 GB, free: 1.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006232/0.394, allocations: 252.5 kB / 0.6092 GB, free: 1.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.3941, allocations: 57.47 kB / 0.6092 GB, free: 1.359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.3944, allocations: 336.5 kB / 0.6096 GB, free: 1.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3945, allocations: 31.77 kB / 0.6096 GB, free: 1.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.3946, allocations: 216 kB / 0.6098 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.3947, allocations: 54.62 kB / 0.6098 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3947, allocations: 26.03 kB / 0.6099 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3948, allocations: 346.2 kB / 0.6102 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3951, allocations: 77.52 kB / 0.6103 GB, free: 480 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.3953, allocations: 154.2 kB / 0.6104 GB, free: 344 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.3957, allocations: 257.8 kB / 0.6107 GB, free: 136 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3957, allocations: 5.781 kB / 0.6107 GB, free: 132 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005835/0.3963, allocations: 326.8 kB / 0.611 GB, free: 15.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.3964, allocations: 31.8 kB / 0.611 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3964, allocations: 2.594 kB / 0.611 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3964, allocations: 3.594 kB / 0.611 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3966, allocations: 64.58 kB / 0.6111 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3966, allocations: 5.281 kB / 0.6111 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3969, allocations: 44.45 kB / 0.6111 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3969, allocations: 9.031 kB / 0.6111 GB, free: 15.86 MB / 462.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.0001453/0.3971, allocations: 159.3 kB / 0.6113 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.3971, allocations: 35.66 kB / 0.6113 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.3976, allocations: 208.8 kB / 0.6115 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3976, allocations: 2.125 kB / 0.6115 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3976, allocations: 1.125 kB / 0.6115 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004823/0.3981, allocations: 0.4899 MB / 0.612 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.3985, allocations: 346.5 kB / 0.6123 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3985, allocations: 3.938 kB / 0.6123 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3987, allocations: 38.19 kB / 0.6124 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3987, allocations: 1.562 kB / 0.6124 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3987, allocations: 1.094 kB / 0.6124 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3987, allocations: 0.9375 kB / 0.6124 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3987, allocations: 0 / 0.6124 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.3994, allocations: 311.4 kB / 0.6127 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.3995, allocations: 133.4 kB / 0.6128 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.3996, allocations: 2.469 kB / 0.6128 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3998, allocations: 27.03 kB / 0.6128 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.3999, allocations: 11.92 kB / 0.6128 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3999, allocations: 12.92 kB / 0.6129 GB, free: 14.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.4001, allocations: 238.3 kB / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4001, allocations: 0 / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.4005, allocations: 112.2 kB / 0.6132 GB, free: 14.23 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.001017/0.4015, allocations: 0.93 MB / 0.6141 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.402, allocations: 239 kB / 0.6143 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.402, allocations: 0 / 0.6143 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4022, allocations: 78.34 kB / 0.6144 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/0.4032, allocations: 200.8 kB / 0.6146 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.4073, allocations: 3.253 MB / 0.6178 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4076, allocations: 0.7906 MB / 0.6185 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.4079, allocations: 60.56 kB / 0.6186 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.408, allocations: 113.4 kB / 0.6187 GB, free: 9.859 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.408, allocations: 7.938 kB / 0.6187 GB, free: 9.852 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.206/0.614, allocations: 9.346 MB / 0.6278 GB, free: 2.473 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.6143, allocations: 181.1 kB / 0.628 GB, free: 2.219 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.679, allocations: 4 kB / 0.628 GB, free: 2.215 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)