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.001345/0.001345, allocations: 120 kB / 17.17 MB, free: 5.977 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.001749/0.001749, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8976/0.8976, allocations: 133.9 MB / 443.5 MB, free: 13.77 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.001978/0.001978, allocations: 67.48 kB / 0.6141 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1622, allocations: 85.85 MB / 0.6979 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01736/0.1795, allocations: 14.65 MB / 0.7122 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005924/0.1855, allocations: 3.64 MB / 0.7158 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007595/0.1862, allocations: 23.81 kB / 0.7158 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.1871, allocations: 210.7 kB / 0.716 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.1889, allocations: 0.6142 MB / 0.7166 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1901, allocations: 406.2 kB / 0.717 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.1919, allocations: 1.087 MB / 0.7181 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.1924, allocations: 264.6 kB / 0.7183 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1935, allocations: 405.5 kB / 0.7187 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1939, allocations: 334.5 kB / 0.719 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.194, allocations: 32 kB / 0.719 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006313/0.1946, allocations: 279.5 kB / 0.7193 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1947, allocations: 99.61 kB / 0.7194 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.195, allocations: 218.9 kB / 0.7196 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.1959, allocations: 0.6171 MB / 0.7202 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1959, allocations: 3.938 kB / 0.7202 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1959, allocations: 0 / 0.7202 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.1959, allocations: 4 kB / 0.7202 GB, free: 8.055 MB / 0.5294 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.001307/0.1973, allocations: 0.7569 MB / 0.721 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1973, allocations: 9.703 kB / 0.721 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.628e-05/0.1973, allocations: 12.75 kB / 0.721 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.1974, allocations: 58.72 kB / 0.721 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1976, allocations: 60.59 kB / 0.7211 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.1985, allocations: 482.7 kB / 0.7216 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1985, allocations: 16.56 kB / 0.7216 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.1985, allocations: 28 kB / 0.7216 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.1992, allocations: 302.2 kB / 0.7219 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1992, allocations: 7.938 kB / 0.7219 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.1992, allocations: 8 kB / 0.7219 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1993, allocations: 12 kB / 0.7219 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.1998, allocations: 190.1 kB / 0.7221 GB, free: 6.012 MB / 0.5294 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.001975/0.2017, allocations: 1.489 MB / 0.7236 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.2022, allocations: 146.6 kB / 0.7237 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.2024, allocations: 68.75 kB / 0.7238 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.2025, allocations: 97.03 kB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000334/0.2029, allocations: 119.3 kB / 0.724 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.2029, allocations: 0 / 0.724 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007048/0.2036, allocations: 237.3 kB / 0.7242 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.2036, allocations: 59.34 kB / 0.7242 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2041, allocations: 353.6 kB / 0.7246 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.2041, allocations: 33.7 kB / 0.7246 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2043, allocations: 220.1 kB / 0.7248 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.2043, allocations: 51.59 kB / 0.7249 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.2044, allocations: 49.7 kB / 0.7249 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2046, allocations: 342.8 kB / 0.7252 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2048, allocations: 75.95 kB / 0.7253 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.2051, allocations: 150.4 kB / 0.7255 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.2055, allocations: 246.1 kB / 0.7257 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2055, allocations: 3.938 kB / 0.7257 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006359/0.2062, allocations: 314.8 kB / 0.726 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.2062, allocations: 42.88 kB / 0.726 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2062, allocations: 0 / 0.726 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2063, allocations: 4 kB / 0.726 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2065, allocations: 59.91 kB / 0.7261 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2065, allocations: 8.25 kB / 0.7261 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.2068, allocations: 43.7 kB / 0.7262 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2068, allocations: 8 kB / 0.7262 GB, free: 1.531 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.0001924/0.207, allocations: 158.4 kB / 0.7263 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.2071, allocations: 35.75 kB / 0.7263 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.2075, allocations: 194.6 kB / 0.7265 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.2075, allocations: 8 kB / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2076, allocations: 0 / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005738/0.2081, allocations: 487.7 kB / 0.727 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.2086, allocations: 357.2 kB / 0.7273 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2086, allocations: 0 / 0.7273 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.2088, allocations: 35.97 kB / 0.7274 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2088, allocations: 0 / 0.7274 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.2088, allocations: 4 kB / 0.7274 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2088, allocations: 0 / 0.7274 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2088, allocations: 4 kB / 0.7274 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.2095, allocations: 291 kB / 0.7277 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.2096, allocations: 124.9 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.2097, allocations: 4 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.2099, allocations: 19.97 kB / 0.7278 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.21, allocations: 15.98 kB / 0.7278 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.21, allocations: 8 kB / 0.7278 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002934/0.2103, allocations: 255.2 kB / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2103, allocations: 0 / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004963/0.2108, allocations: 123.7 kB / 0.7282 GB, free: 15.27 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.001263/0.2121, allocations: 0.9205 MB / 0.7291 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.2126, allocations: 219.1 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2126, allocations: 0 / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.2128, allocations: 65.92 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.2138, allocations: 212.5 kB / 0.7296 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.2185, allocations: 3.071 MB / 0.7326 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.2189, allocations: 0.7957 MB / 0.7333 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002686/0.2192, allocations: 71.17 kB / 0.7334 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.2194, allocations: 119.4 kB / 0.7335 GB, free: 9.613 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2194, allocations: 0 / 0.7335 GB, free: 9.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.2506, allocations: 10.28 MB / 0.7436 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/8.873, allocations: 13.59 kB / 0.7436 GB, free: 15.55 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.71647241403116] Failed to read output from testmodel.py, exit status != 0: 9.302294234978035 9.030458486 8.829513847 Calling exit ...