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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8914/0.8914, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.66 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1368, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01569/0.1525, allocations: 14.43 MB / 0.5986 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004829/0.1574, allocations: 3.632 MB / 0.6021 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.1579, allocations: 19.94 kB / 0.6021 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.1585, allocations: 202.7 kB / 0.6023 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.1598, allocations: 0.5868 MB / 0.6029 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.1607, allocations: 393.7 kB / 0.6033 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1619, allocations: 1.087 MB / 0.6043 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2263/0.3883, allocations: 315 kB / 0.6046 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.3893, allocations: 385.5 kB / 0.605 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.3896, allocations: 315.6 kB / 0.6053 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.3896, allocations: 30.94 kB / 0.6053 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.3902, allocations: 259.4 kB / 0.6056 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.3903, allocations: 97.25 kB / 0.6057 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3904, allocations: 213.3 kB / 0.6059 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.391, allocations: 0.5847 MB / 0.6064 GB, free: 36.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.391, allocations: 0 / 0.6064 GB, free: 36.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.391, allocations: 0 / 0.6064 GB, free: 36.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.391, allocations: 0 / 0.6064 GB, free: 36.51 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.0008783/0.3919, allocations: 0.7542 MB / 0.6072 GB, free: 36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3919, allocations: 9.219 kB / 0.6072 GB, free: 36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.392, allocations: 64.12 kB / 0.6073 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3922, allocations: 51.25 kB / 0.6073 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.3927, allocations: 436.2 kB / 0.6077 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3927, allocations: 32.03 kB / 0.6077 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.3928, allocations: 30.31 kB / 0.6078 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.3932, allocations: 302.5 kB / 0.6081 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3932, allocations: 6.625 kB / 0.6081 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.3933, allocations: 13.06 kB / 0.6081 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3933, allocations: 5.562 kB / 0.6081 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.3937, allocations: 194 kB / 0.6083 GB, free: 35.61 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.001265/0.395, allocations: 1.492 MB / 0.6097 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.3954, allocations: 156.9 kB / 0.6099 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3955, allocations: 65.19 kB / 0.6099 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.3956, allocations: 94.78 kB / 0.61 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.3959, allocations: 128.1 kB / 0.6102 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3959, allocations: 0 / 0.6102 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005515/0.3964, allocations: 237 kB / 0.6104 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.3965, allocations: 54.03 kB / 0.6104 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3967, allocations: 350.4 kB / 0.6108 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3968, allocations: 35.95 kB / 0.6108 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.3969, allocations: 224.2 kB / 0.611 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3969, allocations: 46.73 kB / 0.6111 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.397, allocations: 58.25 kB / 0.6111 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.397, allocations: 342 kB / 0.6114 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3972, allocations: 68.55 kB / 0.6115 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.3974, allocations: 153.1 kB / 0.6117 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.3977, allocations: 246.1 kB / 0.6119 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3978, allocations: 0 / 0.6119 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004855/0.3982, allocations: 307.2 kB / 0.6122 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3983, allocations: 37.34 kB / 0.6122 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3983, allocations: 2.844 kB / 0.6122 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3983, allocations: 6.812 kB / 0.6122 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3985, allocations: 55.61 kB / 0.6123 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.3985, allocations: 5.094 kB / 0.6123 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3988, allocations: 42.17 kB / 0.6123 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3988, allocations: 9.188 kB / 0.6123 GB, free: 33.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 (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.0001103/0.3989, allocations: 156.9 kB / 0.6125 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.399, allocations: 38.98 kB / 0.6125 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.3994, allocations: 196.1 kB / 0.6127 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3994, allocations: 2.875 kB / 0.6127 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3994, allocations: 4 kB / 0.6127 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003487/0.3997, allocations: 486.3 kB / 0.6132 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.4001, allocations: 350.7 kB / 0.6135 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4001, allocations: 4.641 kB / 0.6135 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.4002, allocations: 28.05 kB / 0.6135 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4002, allocations: 3.797 kB / 0.6135 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4003, allocations: 12.69 kB / 0.6136 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4003, allocations: 0 / 0.6136 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4003, allocations: 4 kB / 0.6136 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.4008, allocations: 284.9 kB / 0.6138 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.4009, allocations: 123.2 kB / 0.6139 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4009, allocations: 9.219 kB / 0.614 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.4012, allocations: 18.14 kB / 0.614 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.4012, allocations: 18.7 kB / 0.614 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4013, allocations: 10.59 kB / 0.614 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001851/0.4015, allocations: 249.3 kB / 0.6142 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4015, allocations: 3.75 kB / 0.6142 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003649/0.4018, allocations: 121.3 kB / 0.6144 GB, free: 32.26 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.0008306/0.4027, allocations: 0.9106 MB / 0.6152 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.4031, allocations: 245.9 kB / 0.6155 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4031, allocations: 0.625 kB / 0.6155 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4033, allocations: 73.7 kB / 0.6156 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.4042, allocations: 206.9 kB / 0.6158 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.4073, allocations: 3.073 MB / 0.6188 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.4075, allocations: 0.7942 MB / 0.6195 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.4077, allocations: 63.66 kB / 0.6196 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4079, allocations: 116.9 kB / 0.6197 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.4079, allocations: 0 / 0.6197 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.876/2.284, allocations: 10.15 MB / 0.6296 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/13.18, allocations: 19.84 kB / 0.6296 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)