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.001007/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009937/0.0009938, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8498/0.8498, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.25 kB / 0.5048 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 80.93 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01266/0.1402, allocations: 14.39 MB / 0.5979 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00415/0.1444, allocations: 3.66 MB / 0.6014 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1446, allocations: 19.88 kB / 0.6015 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.1451, allocations: 171.1 kB / 0.6016 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009337/0.1461, allocations: 0.5405 MB / 0.6021 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.1467, allocations: 362.1 kB / 0.6025 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1479, allocations: 1.45 MB / 0.6039 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2274/0.3753, allocations: 283.5 kB / 0.6042 GB, free: 36.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008014/0.3761, allocations: 317.8 kB / 0.6045 GB, free: 36.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.3766, allocations: 311.8 kB / 0.6048 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.3767, allocations: 15.59 kB / 0.6048 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.3774, allocations: 247.8 kB / 0.605 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3775, allocations: 83.75 kB / 0.6051 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.3778, allocations: 195.7 kB / 0.6053 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007406/0.3785, allocations: 0.5828 MB / 0.6059 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3785, allocations: 0 / 0.6059 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3785, allocations: 0 / 0.6059 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.3786, allocations: 0 / 0.6059 GB, free: 36.27 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.001089/0.3797, allocations: 0.748 MB / 0.6066 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3797, allocations: 11.25 kB / 0.6066 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.3798, allocations: 62.42 kB / 0.6067 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.38, allocations: 56.86 kB / 0.6067 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.3806, allocations: 477.7 kB / 0.6072 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3806, allocations: 19.09 kB / 0.6072 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.3806, allocations: 23.69 kB / 0.6072 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.3811, allocations: 311.9 kB / 0.6075 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3812, allocations: 0 / 0.6075 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3812, allocations: 18.84 kB / 0.6075 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3812, allocations: 5.5 kB / 0.6075 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.3816, allocations: 199.3 kB / 0.6077 GB, free: 35.38 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.001328/0.383, allocations: 1.475 MB / 0.6092 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.3834, allocations: 159.5 kB / 0.6093 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3836, allocations: 68.91 kB / 0.6094 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.3838, allocations: 88.62 kB / 0.6095 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.384, allocations: 127 kB / 0.6096 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.384, allocations: 0 / 0.6096 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005664/0.3846, allocations: 238.8 kB / 0.6098 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.3846, allocations: 58.14 kB / 0.6099 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3849, allocations: 342.1 kB / 0.6102 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3849, allocations: 29.64 kB / 0.6102 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.385, allocations: 223.5 kB / 0.6104 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3851, allocations: 46.91 kB / 0.6105 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.3852, allocations: 54.59 kB / 0.6105 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.3852, allocations: 347.1 kB / 0.6109 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.3854, allocations: 67.78 kB / 0.6109 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.3856, allocations: 147 kB / 0.6111 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.3859, allocations: 250.7 kB / 0.6113 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3859, allocations: 2.531 kB / 0.6113 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004904/0.3864, allocations: 306.6 kB / 0.6116 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.3865, allocations: 38.81 kB / 0.6116 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3865, allocations: 6.75 kB / 0.6117 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3865, allocations: 5.5 kB / 0.6117 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3867, allocations: 58.33 kB / 0.6117 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3867, allocations: 5.688 kB / 0.6117 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.387, allocations: 38.39 kB / 0.6118 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.387, allocations: 10.06 kB / 0.6118 GB, free: 33.15 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.0001175/0.3871, allocations: 162 kB / 0.6119 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.3872, allocations: 32.06 kB / 0.612 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.3876, allocations: 200.9 kB / 0.6121 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3876, allocations: 3.5 kB / 0.6121 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3876, allocations: 0 / 0.6121 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003477/0.388, allocations: 485.8 kB / 0.6126 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.3883, allocations: 351.8 kB / 0.6129 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3883, allocations: 0 / 0.6129 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3885, allocations: 30.84 kB / 0.613 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3885, allocations: 0 / 0.613 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3885, allocations: 13.77 kB / 0.613 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3885, allocations: 3.938 kB / 0.613 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3885, allocations: 0.5469 kB / 0.613 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.3891, allocations: 293.6 kB / 0.6133 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.3892, allocations: 122 kB / 0.6134 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.3892, allocations: 10.39 kB / 0.6134 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3895, allocations: 15.12 kB / 0.6134 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.3895, allocations: 15.44 kB / 0.6134 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3895, allocations: 13.02 kB / 0.6134 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001787/0.3897, allocations: 238.2 kB / 0.6137 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3897, allocations: 0 / 0.6137 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004182/0.3902, allocations: 119.3 kB / 0.6138 GB, free: 32.03 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.0008266/0.391, allocations: 0.9049 MB / 0.6147 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.3914, allocations: 228.6 kB / 0.6149 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3914, allocations: 0 / 0.6149 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3916, allocations: 68.77 kB / 0.6149 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/0.3925, allocations: 207.2 kB / 0.6151 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3958, allocations: 3.149 MB / 0.6182 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.396, allocations: 0.7903 MB / 0.619 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.3962, allocations: 65.17 kB / 0.6191 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3964, allocations: 119.7 kB / 0.6192 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.3964, allocations: 0 / 0.6192 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4598/0.8562, allocations: 9.439 MB / 0.6284 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.8564, allocations: 184.1 kB / 0.6286 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.694, allocations: 7.938 kB / 0.6286 GB, free: 27.83 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)