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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 220.9 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8897/0.8897, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 65.14 kB / 0.6193 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1814, allocations: 85.9 MB / 0.7032 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01751/0.1989, allocations: 14.78 MB / 0.7176 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005891/0.2048, allocations: 3.667 MB / 0.7212 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.2053, allocations: 27.75 kB / 0.7212 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.206, allocations: 218.7 kB / 0.7214 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2076, allocations: 0.6181 MB / 0.722 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2086, allocations: 413.2 kB / 0.7224 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.2103, allocations: 1.139 MB / 0.7236 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.2108, allocations: 261 kB / 0.7238 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.2121, allocations: 398.5 kB / 0.7242 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.2126, allocations: 330.6 kB / 0.7245 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.2126, allocations: 35.94 kB / 0.7245 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.2133, allocations: 291.5 kB / 0.7248 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.2134, allocations: 99.55 kB / 0.7249 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.2137, allocations: 215 kB / 0.7251 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.2146, allocations: 0.6227 MB / 0.7257 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2146, allocations: 0 / 0.7257 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2146, allocations: 0 / 0.7257 GB, free: 10.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2146, allocations: 3.938 kB / 0.7257 GB, free: 10.27 MB / 0.545 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.001254/0.2159, allocations: 0.6777 MB / 0.7264 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.2159, allocations: 12.03 kB / 0.7264 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.2159, allocations: 8.688 kB / 0.7264 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.308e-05/0.216, allocations: 66.72 kB / 0.7265 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2162, allocations: 48.66 kB / 0.7265 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/0.217, allocations: 411.5 kB / 0.7269 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.217, allocations: 16.5 kB / 0.7269 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.2171, allocations: 28 kB / 0.7269 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.2177, allocations: 313.2 kB / 0.7272 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2177, allocations: 0 / 0.7272 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.2177, allocations: 15.94 kB / 0.7273 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.2177, allocations: 4 kB / 0.7273 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.2182, allocations: 189.8 kB / 0.7274 GB, free: 8.41 MB / 0.545 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.001917/0.2202, allocations: 1.433 MB / 0.7288 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.2206, allocations: 142.6 kB / 0.729 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2208, allocations: 64.81 kB / 0.729 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.702e-05/0.2209, allocations: 15.92 kB / 0.7291 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.2212, allocations: 133.6 kB / 0.7292 GB, free: 6.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2212, allocations: 0 / 0.7292 GB, free: 6.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006564/0.2219, allocations: 229.3 kB / 0.7294 GB, free: 6.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.2219, allocations: 55.41 kB / 0.7295 GB, free: 6.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.2224, allocations: 357.6 kB / 0.7298 GB, free: 5.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2224, allocations: 33.7 kB / 0.7298 GB, free: 5.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.2226, allocations: 220.1 kB / 0.73 GB, free: 5.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.2226, allocations: 59.52 kB / 0.7301 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2227, allocations: 53.7 kB / 0.7302 GB, free: 5.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2229, allocations: 338.8 kB / 0.7305 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2231, allocations: 71.95 kB / 0.7305 GB, free: 5.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2234, allocations: 145.3 kB / 0.7307 GB, free: 4.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.2238, allocations: 249.6 kB / 0.7309 GB, free: 4.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2238, allocations: 8 kB / 0.7309 GB, free: 4.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006063/0.2244, allocations: 313.1 kB / 0.7312 GB, free: 4.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.2245, allocations: 37.7 kB / 0.7313 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2245, allocations: 3.984 kB / 0.7313 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2245, allocations: 4.312 kB / 0.7313 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2247, allocations: 59.91 kB / 0.7313 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.2247, allocations: 8 kB / 0.7313 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.225, allocations: 31.83 kB / 0.7314 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.225, allocations: 12 kB / 0.7314 GB, free: 4.105 MB / 0.545 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.0001779/0.2252, allocations: 173.6 kB / 0.7315 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.2252, allocations: 39.75 kB / 0.7316 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.2257, allocations: 192.5 kB / 0.7318 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2257, allocations: 4 kB / 0.7318 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2257, allocations: 0 / 0.7318 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005313/0.2262, allocations: 486.2 kB / 0.7322 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.2267, allocations: 328.4 kB / 0.7325 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2267, allocations: 0 / 0.7325 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2268, allocations: 39.91 kB / 0.7326 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2268, allocations: 0 / 0.7326 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2269, allocations: 8 kB / 0.7326 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2269, allocations: 0 / 0.7326 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2269, allocations: 0 / 0.7326 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.2275, allocations: 295.1 kB / 0.7329 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2276, allocations: 51.77 kB / 0.7329 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.2277, allocations: 4 kB / 0.7329 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.2279, allocations: 15.98 kB / 0.7329 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.228, allocations: 15.97 kB / 0.733 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.228, allocations: 11.98 kB / 0.733 GB, free: 2.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002729/0.2283, allocations: 247.2 kB / 0.7332 GB, free: 2.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2283, allocations: 0 / 0.7332 GB, free: 2.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000452/0.2287, allocations: 123.7 kB / 0.7333 GB, free: 1.957 MB / 0.545 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.001179/0.2299, allocations: 0.9069 MB / 0.7342 GB, free: 1.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.2304, allocations: 215.8 kB / 0.7344 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2304, allocations: 8 kB / 0.7344 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.2306, allocations: 67.83 kB / 0.7345 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.2316, allocations: 212.4 kB / 0.7347 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.2364, allocations: 3.072 MB / 0.7377 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.2369, allocations: 0.7918 MB / 0.7385 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.2372, allocations: 67.25 kB / 0.7385 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.2374, allocations: 111.4 kB / 0.7386 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.2374, allocations: 4 kB / 0.7386 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.2741, allocations: 10.54 MB / 0.7489 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12, allocations: 21.17 kB / 0.7489 GB, free: 1.996 MB / 0.5606 GB " [Timeout remaining time 648] (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 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.031328757992014] Failed to read output from testmodel.py, exit status != 0: 12.16347005602438 12.496033979 12.278780481 Calling exit ...