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.001594/0.001594, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001758/0.001758, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8654/0.8654, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 68.45 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 80.93 MB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01344/0.1419, allocations: 14.38 MB / 0.598 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.1462, allocations: 3.605 MB / 0.6015 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.1465, allocations: 19.88 kB / 0.6016 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.147, allocations: 163.1 kB / 0.6017 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.1481, allocations: 0.5484 MB / 0.6023 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.1488, allocations: 365.9 kB / 0.6026 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1499, allocations: 1.099 MB / 0.6037 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.1503, allocations: 325.5 kB / 0.604 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2117/0.362, allocations: 375.7 kB / 0.6043 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.3625, allocations: 322.6 kB / 0.6047 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.3626, allocations: 34.8 kB / 0.6047 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.3631, allocations: 263.9 kB / 0.6049 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.3632, allocations: 90.88 kB / 0.605 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3634, allocations: 214.9 kB / 0.6052 GB, free: 36.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.3639, allocations: 0.5957 MB / 0.6058 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.364, allocations: 0.5312 kB / 0.6058 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.364, allocations: 0.9375 kB / 0.6058 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.364, allocations: 0 / 0.6058 GB, free: 36.68 MB / 0.4981 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.0008618/0.3648, allocations: 0.7464 MB / 0.6065 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3649, allocations: 11.66 kB / 0.6066 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.3649, allocations: 63.59 kB / 0.6066 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3651, allocations: 49.34 kB / 0.6067 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.3656, allocations: 482.2 kB / 0.6071 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3657, allocations: 22.06 kB / 0.6071 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3657, allocations: 27.06 kB / 0.6072 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.3662, allocations: 316 kB / 0.6075 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3662, allocations: 0 / 0.6075 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3662, allocations: 12.97 kB / 0.6075 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.3663, allocations: 8.578 kB / 0.6075 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.3666, allocations: 193.8 kB / 0.6077 GB, free: 35.78 MB / 0.4981 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.001241/0.3679, allocations: 1.479 MB / 0.6091 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.3683, allocations: 154.5 kB / 0.6093 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3684, allocations: 74.25 kB / 0.6093 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3685, allocations: 86.25 kB / 0.6094 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.3688, allocations: 122.7 kB / 0.6095 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.3688, allocations: 0 / 0.6095 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000534/0.3693, allocations: 248.7 kB / 0.6098 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3694, allocations: 57.02 kB / 0.6098 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.3696, allocations: 339.2 kB / 0.6102 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3697, allocations: 30.58 kB / 0.6102 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.3698, allocations: 219.2 kB / 0.6104 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3698, allocations: 46.73 kB / 0.6104 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.3699, allocations: 58.3 kB / 0.6105 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.3699, allocations: 345.4 kB / 0.6108 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.3701, allocations: 68.34 kB / 0.6109 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.3703, allocations: 145.8 kB / 0.611 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.3706, allocations: 251.5 kB / 0.6113 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3706, allocations: 6.969 kB / 0.6113 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00047/0.3711, allocations: 310.7 kB / 0.6116 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3711, allocations: 31.14 kB / 0.6116 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3711, allocations: 6.688 kB / 0.6116 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3712, allocations: 4.562 kB / 0.6116 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3714, allocations: 57.73 kB / 0.6117 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3714, allocations: 5.875 kB / 0.6117 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.3716, allocations: 43.42 kB / 0.6117 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3717, allocations: 10.09 kB / 0.6117 GB, free: 33.54 MB / 0.4981 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.0001126/0.3718, allocations: 160.7 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3718, allocations: 32.91 kB / 0.6119 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.3722, allocations: 194.4 kB / 0.6121 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3722, allocations: 4 kB / 0.6121 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3722, allocations: 3.234 kB / 0.6121 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003351/0.3726, allocations: 482.7 kB / 0.6126 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.3729, allocations: 354.9 kB / 0.6129 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3729, allocations: 0 / 0.6129 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.373, allocations: 29.2 kB / 0.6129 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3731, allocations: 3.188 kB / 0.6129 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3731, allocations: 10.38 kB / 0.6129 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3731, allocations: 6.906 kB / 0.6129 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3731, allocations: 1.5 kB / 0.6129 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.3736, allocations: 285.9 kB / 0.6132 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.3737, allocations: 119.6 kB / 0.6133 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.3737, allocations: 8.812 kB / 0.6133 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.374, allocations: 21.98 kB / 0.6134 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.374, allocations: 12.59 kB / 0.6134 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3741, allocations: 11.56 kB / 0.6134 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001741/0.3742, allocations: 240 kB / 0.6136 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3742, allocations: 3.469 kB / 0.6136 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003604/0.3746, allocations: 118.3 kB / 0.6137 GB, free: 32.42 MB / 0.4981 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.0007948/0.3754, allocations: 0.9009 MB / 0.6146 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.3758, allocations: 236 kB / 0.6148 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3758, allocations: 2.875 kB / 0.6148 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.376, allocations: 68.61 kB / 0.6149 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.3768, allocations: 219.7 kB / 0.6151 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.3801, allocations: 3.147 MB / 0.6182 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.3803, allocations: 0.791 MB / 0.619 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000245/0.3805, allocations: 67.81 kB / 0.619 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3806, allocations: 118.2 kB / 0.6191 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3806, allocations: 0 / 0.6191 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.358/3.739, allocations: 9.705 MB / 0.6286 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/3.739, allocations: 189.5 kB / 0.6288 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/6.8, allocations: 0 / 0.6288 GB, free: 28.2 MB / 0.4981 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)