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.001143/0.001143, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001362/0.001362, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.9027/0.9027, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.721/0.721, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.177e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01054/0.01056, allocations: 13.41 MB / 0.6312 GB, free: 196 kB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004101/0.01466, allocations: 3.399 MB / 0.6345 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.01511, allocations: 23.81 kB / 0.6345 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.01567, allocations: 210.6 kB / 0.6347 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.01696, allocations: 0.637 MB / 0.6353 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.0177, allocations: 421.6 kB / 0.6357 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.01889, allocations: 1.113 MB / 0.6368 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.01929, allocations: 248.9 kB / 0.6371 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.02044, allocations: 0.5653 MB / 0.6376 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.02078, allocations: 283.1 kB / 0.6379 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.02082, allocations: 32 kB / 0.6379 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.02126, allocations: 223.4 kB / 0.6381 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.02135, allocations: 95.59 kB / 0.6382 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.02149, allocations: 155.6 kB / 0.6384 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.02221, allocations: 0.6153 MB / 0.639 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02221, allocations: 0 / 0.639 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.02221, allocations: 0 / 0.639 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.02222, allocations: 0 / 0.639 GB, free: 8.184 MB / 0.6042 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.0008674/0.02309, allocations: 0.6816 MB / 0.6396 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.02313, allocations: 8.031 kB / 0.6397 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.02318, allocations: 62.72 kB / 0.6397 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.02333, allocations: 48.7 kB / 0.6398 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.02389, allocations: 411.9 kB / 0.6402 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.02392, allocations: 20.86 kB / 0.6402 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.02396, allocations: 28.38 kB / 0.6402 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.02439, allocations: 416.2 kB / 0.6406 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.0244, allocations: 0 / 0.6406 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.02443, allocations: 16 kB / 0.6406 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.02445, allocations: 8 kB / 0.6406 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.02478, allocations: 193.8 kB / 0.6408 GB, free: 6.203 MB / 0.6042 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.001415/0.0262, allocations: 1.146 MB / 0.6419 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.02655, allocations: 146.6 kB / 0.6421 GB, free: 4.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.02665, allocations: 68.81 kB / 0.6421 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.0268, allocations: 8 kB / 0.6421 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.0271, allocations: 226.1 kB / 0.6424 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.306e-06/0.02711, allocations: 0 / 0.6424 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004846/0.02759, allocations: 237.3 kB / 0.6426 GB, free: 4.262 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.02764, allocations: 55.41 kB / 0.6426 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.02795, allocations: 361.5 kB / 0.643 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.02798, allocations: 33.7 kB / 0.643 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.02812, allocations: 220.1 kB / 0.6432 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.02816, allocations: 55.53 kB / 0.6433 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.02823, allocations: 53.66 kB / 0.6433 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.02846, allocations: 338.8 kB / 0.6436 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.02859, allocations: 109.6 kB / 0.6437 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.02874, allocations: 175.5 kB / 0.6439 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.029, allocations: 247 kB / 0.6442 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.029, allocations: 0 / 0.6442 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003724/0.02937, allocations: 342.1 kB / 0.6445 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.02941, allocations: 37.64 kB / 0.6445 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.02942, allocations: 0 / 0.6445 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.02944, allocations: 7.984 kB / 0.6445 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.02957, allocations: 59.91 kB / 0.6446 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.02958, allocations: 4 kB / 0.6446 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.02973, allocations: 35.77 kB / 0.6446 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.02975, allocations: 8 kB / 0.6446 GB, free: 2.02 MB / 0.6042 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.0001593/0.02991, allocations: 169.7 kB / 0.6448 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.02995, allocations: 39.77 kB / 0.6448 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.03027, allocations: 187.3 kB / 0.645 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.03028, allocations: 7.938 kB / 0.645 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.03028, allocations: 0 / 0.645 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003202/0.0306, allocations: 491.6 kB / 0.6455 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.03101, allocations: 288.5 kB / 0.6458 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.03101, allocations: 4 kB / 0.6458 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.03111, allocations: 31.97 kB / 0.6458 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.03112, allocations: 0 / 0.6458 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.03113, allocations: 8 kB / 0.6458 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.03114, allocations: 0 / 0.6458 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.03114, allocations: 0 / 0.6458 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.03161, allocations: 284.6 kB / 0.6461 GB, free: 392 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.03172, allocations: 55.77 kB / 0.6461 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.03176, allocations: 4 kB / 0.6461 GB, free: 332 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.03189, allocations: 15.98 kB / 0.6461 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.03197, allocations: 15.97 kB / 0.6462 GB, free: 300 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.03199, allocations: 19.92 kB / 0.6462 GB, free: 280 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002103/0.0322, allocations: 247.2 kB / 0.6464 GB, free: 32 kB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.0322, allocations: 0 / 0.6464 GB, free: 32 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004667/0.03267, allocations: 127.7 kB / 0.6465 GB, free: 15.9 MB / 0.6198 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.03393, allocations: 0.9149 MB / 0.6474 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.03429, allocations: 244.8 kB / 0.6477 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.0343, allocations: 0 / 0.6477 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.0344, allocations: 67.89 kB / 0.6477 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.03503, allocations: 220.3 kB / 0.6479 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.03834, allocations: 3.096 MB / 0.651 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.03847, allocations: 189.8 kB / 0.6511 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.0387, allocations: 59.25 kB / 0.6512 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.03884, allocations: 120.4 kB / 0.6513 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.03884, allocations: 0 / 0.6513 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.06641, allocations: 11.67 MB / 0.6627 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.432, allocations: 9.531 kB / 0.6627 GB, free: 15.47 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 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: 10.229073833674192] Failed to read output from testmodel.py, exit status != 0: 7.515897617675364 7.524141093 7.50012351 Calling exit ...