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.001673/0.001673, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002551/0.002552, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.33/2.33, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.286/1.286, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006698, allocations: 12 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.282, allocations: 82.3 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.02536/0.3074, allocations: 12.13 MB / 0.5991 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008588/0.3161, allocations: 3.166 MB / 0.6022 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.3172, allocations: 15.88 kB / 0.6022 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.3185, allocations: 195 kB / 0.6024 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.3218, allocations: 0.5842 MB / 0.603 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.3245, allocations: 469.8 kB / 0.6034 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002147/0.3267, allocations: 0.6439 MB / 0.6041 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000736/0.3274, allocations: 246.8 kB / 0.6043 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.3283, allocations: 275 kB / 0.6046 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006322/0.329, allocations: 195.1 kB / 0.6047 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3291, allocations: 16 kB / 0.6048 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3303, allocations: 167.8 kB / 0.6049 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3305, allocations: 67.67 kB / 0.605 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.3307, allocations: 105.5 kB / 0.6051 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.3317, allocations: 423.2 kB / 0.6055 GB, free: 348 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3318, allocations: 4 kB / 0.6055 GB, free: 344 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3318, allocations: 0 / 0.6055 GB, free: 344 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.3318, allocations: 0 / 0.6055 GB, free: 344 kB / 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.6338/0.9656, allocations: 0.6699 MB / 0.6061 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.339e-05/0.9658, allocations: 11.84 kB / 0.6062 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.966, allocations: 66.88 kB / 0.6062 GB, free: 50.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/0.9665, allocations: 49.41 kB / 0.6063 GB, free: 50.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.9681, allocations: 418.1 kB / 0.6067 GB, free: 50.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.9681, allocations: 24.88 kB / 0.6067 GB, free: 50.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.9683, allocations: 29.72 kB / 0.6067 GB, free: 50.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.9706, allocations: 316.8 kB / 0.607 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.9706, allocations: 0 / 0.607 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.9707, allocations: 14.69 kB / 0.607 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.9708, allocations: 6.938 kB / 0.607 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.9717, allocations: 201.9 kB / 0.6072 GB, free: 50.5 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.00331/0.975, allocations: 1.509 MB / 0.6087 GB, free: 49.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.9758, allocations: 164.4 kB / 0.6089 GB, free: 49.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.9761, allocations: 88.38 kB / 0.6089 GB, free: 49.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.9766, allocations: 132.2 kB / 0.6091 GB, free: 49.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 5.34e-06/0.9766, allocations: 4.062 kB / 0.6091 GB, free: 49.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.001162/0.9778, allocations: 249.5 kB / 0.6093 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.9779, allocations: 56.34 kB / 0.6094 GB, free: 49.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.9786, allocations: 363.2 kB / 0.6097 GB, free: 49.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.9787, allocations: 32.8 kB / 0.6097 GB, free: 49.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.9789, allocations: 217.1 kB / 0.61 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.979, allocations: 57.89 kB / 0.61 GB, free: 48.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.979, allocations: 4.906 kB / 0.61 GB, free: 48.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9792, allocations: 341.7 kB / 0.6103 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.9795, allocations: 76.12 kB / 0.6104 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.9798, allocations: 152.5 kB / 0.6106 GB, free: 48.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.9801, allocations: 118 kB / 0.6107 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9801, allocations: 1.406 kB / 0.6107 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001048/0.9812, allocations: 327.5 kB / 0.611 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.9812, allocations: 34.39 kB / 0.611 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.9813, allocations: 3.062 kB / 0.611 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.9813, allocations: 5.906 kB / 0.611 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.9817, allocations: 58.56 kB / 0.6111 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.9817, allocations: 3.062 kB / 0.6111 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.9822, allocations: 52.77 kB / 0.6111 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.9823, allocations: 7.688 kB / 0.6111 GB, free: 48.37 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.9827, allocations: 158.2 kB / 0.6113 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.9828, allocations: 34.22 kB / 0.6113 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008425/0.9837, allocations: 212.6 kB / 0.6115 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.9837, allocations: 3.219 kB / 0.6115 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.9837, allocations: 0 / 0.6115 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007035/0.9844, allocations: 497.6 kB / 0.612 GB, free: 47.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.9853, allocations: 360.2 kB / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9853, allocations: 0 / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.9856, allocations: 41.67 kB / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.9857, allocations: 0 / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.9857, allocations: 7.141 kB / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.9857, allocations: 0 / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9857, allocations: 0 / 0.6124 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.9869, allocations: 304.7 kB / 0.6127 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.9872, allocations: 127.8 kB / 0.6128 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.9873, allocations: 8.703 kB / 0.6128 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.9877, allocations: 24.8 kB / 0.6128 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.9879, allocations: 22.45 kB / 0.6129 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.9879, allocations: 7.172 kB / 0.6129 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005395/0.9885, allocations: 255.9 kB / 0.6131 GB, free: 47.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.82e-07/0.9885, allocations: 0 / 0.6131 GB, free: 47.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008922/0.9894, allocations: 123.4 kB / 0.6132 GB, free: 47.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/0.9911, allocations: 0.9325 MB / 0.6141 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008329/0.992, allocations: 237.4 kB / 0.6144 GB, free: 46.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.992, allocations: 0 / 0.6144 GB, free: 46.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.9923, allocations: 80.52 kB / 0.6144 GB, free: 46.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.994, allocations: 194.7 kB / 0.6146 GB, free: 46.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/1.001, allocations: 3.671 MB / 0.6182 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/1.001, allocations: 0.8045 MB / 0.619 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006432/1.002, allocations: 75.8 kB / 0.6191 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/1.002, allocations: 114.6 kB / 0.6192 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.375e-06/1.002, allocations: 0 / 0.6192 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08222/1.084, allocations: 10.07 MB / 0.629 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/1.085, allocations: 171.8 kB / 0.6292 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/4.742, allocations: 0 / 0.6292 GB, free: 42.29 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/linux/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) Environment - environmentSimulation: