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.000994/0.0009938, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007747/0.007747, allocations: 171.7 kB / 16.27 MB, free: 6.66 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9037/0.9037, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 8 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 82.31 MB / 0.5881 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01326/0.1484, allocations: 13.88 MB / 0.6016 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.1531, allocations: 3.613 MB / 0.6052 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.1534, allocations: 15.88 kB / 0.6052 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.154, allocations: 171.1 kB / 0.6053 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1551, allocations: 0.5405 MB / 0.6059 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.2328/0.3878, allocations: 349.1 kB / 0.6062 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.3893, allocations: 1.46 MB / 0.6076 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.3898, allocations: 272.7 kB / 0.6079 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.3903, allocations: 306 kB / 0.6082 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.3907, allocations: 302 kB / 0.6085 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.3908, allocations: 15.44 kB / 0.6085 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.3913, allocations: 239.8 kB / 0.6087 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.753e-05/0.3914, allocations: 72.75 kB / 0.6088 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3916, allocations: 218.7 kB / 0.609 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.3922, allocations: 0.5622 MB / 0.6095 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3922, allocations: 0.625 kB / 0.6095 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3922, allocations: 1.062 kB / 0.6095 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.3922, allocations: 0.5 kB / 0.6095 GB, free: 34.71 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.0008767/0.3931, allocations: 0.6884 MB / 0.6102 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3931, allocations: 12.09 kB / 0.6102 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.3932, allocations: 59 kB / 0.6103 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.3933, allocations: 45.81 kB / 0.6103 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.3939, allocations: 485.7 kB / 0.6108 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3939, allocations: 16.06 kB / 0.6108 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.394, allocations: 34.34 kB / 0.6108 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.3944, allocations: 309.9 kB / 0.6111 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3945, allocations: 0 / 0.6111 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.3945, allocations: 9.281 kB / 0.6111 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.3945, allocations: 19.05 kB / 0.6112 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.3949, allocations: 197.4 kB / 0.6113 GB, free: 33.82 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.001349/0.3963, allocations: 1.493 MB / 0.6128 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.3967, allocations: 170.4 kB / 0.613 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3968, allocations: 73.83 kB / 0.613 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.397, allocations: 90.23 kB / 0.6131 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.3972, allocations: 126.7 kB / 0.6132 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.3972, allocations: 3.094 kB / 0.6132 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000551/0.3978, allocations: 260.7 kB / 0.6135 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.3978, allocations: 56.88 kB / 0.6135 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3981, allocations: 339.2 kB / 0.6139 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3981, allocations: 28.89 kB / 0.6139 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.3982, allocations: 223.7 kB / 0.6141 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3982, allocations: 53.2 kB / 0.6142 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3983, allocations: 25.25 kB / 0.6142 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.3983, allocations: 348.2 kB / 0.6145 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3985, allocations: 75.14 kB / 0.6146 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.3987, allocations: 151.2 kB / 0.6147 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.399, allocations: 256 kB / 0.615 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.399, allocations: 0 / 0.615 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004861/0.3995, allocations: 320.5 kB / 0.6153 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3996, allocations: 35.48 kB / 0.6153 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3996, allocations: 3.938 kB / 0.6153 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3996, allocations: 6.344 kB / 0.6153 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3998, allocations: 64.23 kB / 0.6154 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3998, allocations: 6.375 kB / 0.6154 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.4001, allocations: 44.8 kB / 0.6154 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4001, allocations: 12.44 kB / 0.6154 GB, free: 31.57 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.0001177/0.4002, allocations: 157.2 kB / 0.6156 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.4003, allocations: 40.56 kB / 0.6156 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.4007, allocations: 206.5 kB / 0.6158 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4007, allocations: 0 / 0.6158 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4007, allocations: 0 / 0.6158 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003691/0.4011, allocations: 0.4909 MB / 0.6163 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.4014, allocations: 353.3 kB / 0.6166 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4014, allocations: 0 / 0.6166 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.4015, allocations: 34.52 kB / 0.6167 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4015, allocations: 1.078 kB / 0.6167 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4016, allocations: 10.88 kB / 0.6167 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4016, allocations: 0 / 0.6167 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4016, allocations: 0 / 0.6167 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.4021, allocations: 313.9 kB / 0.617 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.4022, allocations: 125.3 kB / 0.6171 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.4022, allocations: 6.906 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4025, allocations: 25.61 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.4025, allocations: 15.53 kB / 0.6172 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4025, allocations: 5.844 kB / 0.6172 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001689/0.4027, allocations: 248.1 kB / 0.6174 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4027, allocations: 0 / 0.6174 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003429/0.4031, allocations: 113.9 kB / 0.6175 GB, free: 30.44 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.000775/0.4039, allocations: 0.9189 MB / 0.6184 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.4043, allocations: 240 kB / 0.6186 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4043, allocations: 0 / 0.6186 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4044, allocations: 73.23 kB / 0.6187 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.4053, allocations: 204.9 kB / 0.6189 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.4086, allocations: 3.255 MB / 0.6221 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.4087, allocations: 0.787 MB / 0.6228 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.409, allocations: 69.09 kB / 0.6229 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.4091, allocations: 114.5 kB / 0.623 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4091, allocations: 0 / 0.623 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7319/1.141, allocations: 9.349 MB / 0.6322 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.141, allocations: 180.5 kB / 0.6323 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.991, allocations: 3.938 kB / 0.6323 GB, free: 26.26 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)