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.01046/0.01046, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002542/0.002542, allocations: 196.6 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.189/2.189, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.535/1.535, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 63.12 kB / 0.5808 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.301, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0336/0.3347, allocations: 14.44 MB / 0.6733 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009719/0.3445, allocations: 3.64 MB / 0.6768 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.346, allocations: 15.94 kB / 0.6768 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.3475, allocations: 198.7 kB / 0.677 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.3511, allocations: 0.5907 MB / 0.6776 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3531, allocations: 396.7 kB / 0.678 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002902/0.356, allocations: 1.079 MB / 0.679 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.3571, allocations: 327.9 kB / 0.6794 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.3592, allocations: 402.9 kB / 0.6797 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009186/0.3602, allocations: 306.6 kB / 0.68 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.3604, allocations: 35.94 kB / 0.6801 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.3616, allocations: 259.5 kB / 0.6803 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.3619, allocations: 95.67 kB / 0.6804 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.3624, allocations: 218.9 kB / 0.6806 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.3643, allocations: 0.5928 MB / 0.6812 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.3643, allocations: 0 / 0.6812 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3643, allocations: 0 / 0.6812 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.3644, allocations: 4 kB / 0.6812 GB, free: 4.121 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.00216/0.3665, allocations: 0.7519 MB / 0.6819 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.3666, allocations: 12.03 kB / 0.6819 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.3667, allocations: 54.73 kB / 0.682 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.3671, allocations: 44.47 kB / 0.682 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.3685, allocations: 478.6 kB / 0.6825 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.3686, allocations: 20.5 kB / 0.6825 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/0.3687, allocations: 28 kB / 0.6825 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/0.3696, allocations: 306.2 kB / 0.6828 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.3697, allocations: 4 kB / 0.6828 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.3697, allocations: 8 kB / 0.6828 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.3698, allocations: 8 kB / 0.6829 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.3705, allocations: 198 kB / 0.683 GB, free: 2.113 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.00313/0.3736, allocations: 1.481 MB / 0.6845 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.3744, allocations: 158.6 kB / 0.6846 GB, free: 348 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.3747, allocations: 64.83 kB / 0.6847 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.375, allocations: 93.09 kB / 0.6848 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.3754, allocations: 135.1 kB / 0.6849 GB, free: 20 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.3755, allocations: 4 kB / 0.6849 GB, free: 16 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.001047/0.3765, allocations: 233.1 kB / 0.6851 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3766, allocations: 51.41 kB / 0.6852 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.3773, allocations: 349.7 kB / 0.6855 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.3773, allocations: 33.7 kB / 0.6856 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.3776, allocations: 211.8 kB / 0.6858 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3777, allocations: 55.2 kB / 0.6858 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3778, allocations: 53.64 kB / 0.6859 GB, free: 15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.3781, allocations: 342.8 kB / 0.6862 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.3786, allocations: 71.95 kB / 0.6863 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.379, allocations: 149.3 kB / 0.6864 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.3797, allocations: 243 kB / 0.6866 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.3798, allocations: 4 kB / 0.6866 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001069/0.3808, allocations: 320.5 kB / 0.6869 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.3809, allocations: 33.7 kB / 0.687 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3809, allocations: 3.938 kB / 0.687 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.381, allocations: 4 kB / 0.687 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3813, allocations: 63.89 kB / 0.687 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.3814, allocations: 4 kB / 0.687 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.3819, allocations: 31.77 kB / 0.6871 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.3819, allocations: 8.188 kB / 0.6871 GB, free: 13.65 MB / 0.5294 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.0002875/0.3822, allocations: 162.6 kB / 0.6872 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3824, allocations: 43.47 kB / 0.6873 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007115/0.3831, allocations: 195.5 kB / 0.6875 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3831, allocations: 4 kB / 0.6875 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3831, allocations: 0 / 0.6875 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009831/0.3841, allocations: 483.8 kB / 0.6879 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.3849, allocations: 353.4 kB / 0.6883 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3849, allocations: 3.938 kB / 0.6883 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.3851, allocations: 35.92 kB / 0.6883 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3852, allocations: 0 / 0.6883 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3852, allocations: 4 kB / 0.6883 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3852, allocations: 0 / 0.6883 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3852, allocations: 0 / 0.6883 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3863, allocations: 288.5 kB / 0.6886 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.3866, allocations: 124.7 kB / 0.6887 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.3867, allocations: 8 kB / 0.6887 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.3871, allocations: 15.97 kB / 0.6887 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3872, allocations: 11.98 kB / 0.6887 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.3872, allocations: 15.92 kB / 0.6888 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004525/0.3877, allocations: 255.2 kB / 0.689 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3877, allocations: 0 / 0.689 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007852/0.3885, allocations: 124 kB / 0.6891 GB, free: 11.38 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.002139/0.3906, allocations: 0.9144 MB / 0.69 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009365/0.3916, allocations: 231.1 kB / 0.6902 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3916, allocations: 0 / 0.6902 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.392, allocations: 63.95 kB / 0.6903 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.3936, allocations: 225.4 kB / 0.6905 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.4022, allocations: 3.058 MB / 0.6935 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.4029, allocations: 0.7918 MB / 0.6943 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004651/0.4034, allocations: 62.11 kB / 0.6943 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.4038, allocations: 123.4 kB / 0.6944 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of SimCode: time 2.194e-06/0.4038, allocations: 3.938 kB / 0.6944 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/0.4552, allocations: 10.37 MB / 0.7046 GB, free: 11.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.63, allocations: 4 kB / 0.7046 GB, free: 11.56 MB / 0.545 GB (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)