Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume.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.000966/0.000966, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001229/0.001229, allocations: 215.6 kB / 22.25 MB, free: 3.582 MB / 13.93 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.094/1.094, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.141/1.141, allocations: 154.1 MB / 466.6 MB, free: 3.266 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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(ThermofluidStream.Idealized.Examples.Volumes.Volume,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.Volumes.Volume,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 83.88 kB / 0.6438 GB, free: 28.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2034, allocations: 88.77 MB / 0.7305 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.8831/1.087, allocations: 152.7 MB / 0.8796 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.005934/1.092, allocations: 2.476 MB / 0.882 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.094, allocations: 31.75 kB / 0.882 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.095, allocations: 239.1 kB / 0.8822 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00484/1.1, allocations: 1.032 MB / 0.8832 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/1.102, allocations: 0.6457 MB / 0.8839 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002403/1.105, allocations: 1.079 MB / 0.8849 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/1.105, allocations: 77.28 kB / 0.885 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/1.108, allocations: 0.7304 MB / 0.8857 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/1.108, allocations: 312.5 kB / 0.886 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.801e-05/1.108, allocations: 38.5 kB / 0.886 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/1.111, allocations: 0.7041 MB / 0.8867 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/1.111, allocations: 110 kB / 0.8868 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003614/1.111, allocations: 247.1 kB / 0.8871 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003446/1.115, allocations: 1.182 MB / 0.8882 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/1.115, allocations: 0 / 0.8882 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.131e-06/1.115, allocations: 2.391 kB / 0.8882 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.257e-05/1.115, allocations: 0 / 0.8882 GB, free: 12.05 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002045/1.117, allocations: 0.9329 MB / 0.8891 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/1.117, allocations: 10.53 kB / 0.8892 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/1.117, allocations: 81.16 kB / 0.8892 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/1.118, allocations: 132 kB / 0.8894 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.119, allocations: 459.8 kB / 0.8898 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.119, allocations: 91.19 kB / 0.8899 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/1.119, allocations: 45.31 kB / 0.8899 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/1.12, allocations: 0.637 MB / 0.8905 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.12, allocations: 0 / 0.8905 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/1.12, allocations: 16.97 kB / 0.8906 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.12, allocations: 12.47 kB / 0.8906 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/1.12, allocations: 324 kB / 0.8909 GB, free: 10.37 MB / 0.6511 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.002795/1.123, allocations: 1.617 MB / 0.8925 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/1.124, allocations: 229.9 kB / 0.8927 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/1.124, allocations: 112.2 kB / 0.8928 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/1.124, allocations: 45.78 kB / 0.8928 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.124, allocations: 37.34 kB / 0.8929 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=29): time 4.609e-06/1.124, allocations: 0 / 0.8929 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29): time 0.0009078/1.125, allocations: 421.7 kB / 0.8933 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.125, allocations: 58.06 kB / 0.8933 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/1.126, allocations: 0.5102 MB / 0.8938 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/1.126, allocations: 35.86 kB / 0.8939 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/1.126, allocations: 286.1 kB / 0.8941 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/1.126, allocations: 103.2 kB / 0.8942 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/1.126, allocations: 94.5 kB / 0.8943 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.126, allocations: 365.8 kB / 0.8947 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.127, allocations: 93.08 kB / 0.8948 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/1.127, allocations: 173.7 kB / 0.8949 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/1.127, allocations: 274.1 kB / 0.8952 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.127, allocations: 2.469 kB / 0.8952 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005538/1.128, allocations: 405.8 kB / 0.8956 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.128, allocations: 5.438 kB / 0.8956 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.128, allocations: 2.906 kB / 0.8956 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/1.128, allocations: 2.875 kB / 0.8956 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/1.128, allocations: 94.45 kB / 0.8957 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.128, allocations: 9.172 kB / 0.8957 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/1.128, allocations: 42.23 kB / 0.8957 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/1.128, allocations: 49.33 kB / 0.8958 GB, free: 7.016 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0002273/1.129, allocations: 169.7 kB / 0.8959 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/1.129, allocations: 61.44 kB / 0.896 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.13, allocations: 0.6312 MB / 0.8966 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/1.13, allocations: 2.531 kB / 0.8966 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.13, allocations: 2.656 kB / 0.8966 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.13, allocations: 3.984 kB / 0.8966 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/1.131, allocations: 0.7809 MB / 0.8974 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.131, allocations: 2.062 kB / 0.8974 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.131, allocations: 67.03 kB / 0.8974 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/1.132, allocations: 28.53 kB / 0.8975 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/1.132, allocations: 12.03 kB / 0.8975 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004938/1.132, allocations: 0.5395 MB / 0.898 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.132, allocations: 0 / 0.898 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/1.133, allocations: 0.5053 MB / 0.8985 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/1.133, allocations: 83.73 kB / 0.8986 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/1.133, allocations: 10.78 kB / 0.8986 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.133, allocations: 17.08 kB / 0.8986 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/1.133, allocations: 25.41 kB / 0.8986 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/1.133, allocations: 31.83 kB / 0.8987 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003924/1.134, allocations: 356.5 kB / 0.899 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/1.134, allocations: 2.25 kB / 0.899 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001319/1.135, allocations: 208.8 kB / 0.8992 GB, free: 4.645 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (pressureTank.M,pressureTank.U_med) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/1.137, allocations: 1.255 MB / 0.9004 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005373/1.137, allocations: 239.7 kB / 0.9007 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.137, allocations: 0 / 0.9007 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/1.137, allocations: 119.7 kB / 0.9008 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000933/1.138, allocations: 251.9 kB / 0.901 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/1.144, allocations: 4.208 MB / 0.9051 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.144, allocations: 245.1 kB / 0.9054 GB, free: 496 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008857/1.145, allocations: 397.9 kB / 0.9057 GB, free: 308 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/1.146, allocations: 250 kB / 0.906 GB, free: 116 kB / 0.6511 GB Notification: Performance of SimCode: time 3.427e-06/1.146, allocations: 2.781 kB / 0.906 GB, free: 116 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05571/1.201, allocations: 17.99 MB / 0.9235 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.932/10.13, allocations: 9.125 kB / 0.9236 GB, free: 6.969 MB / 0.6667 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume_OMSimulator_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 14.1792968865484]