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.0008566/0.0008566, 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.0009465/0.0009465, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.088/1.088, allocations: 230.6 MB / 256 MB, free: 9.609 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 0.7934/0.7934, allocations: 154.1 MB / 466.6 MB, free: 3.332 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.00133/0.00133, allocations: 87.88 kB / 0.6438 GB, free: 28.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2049, allocations: 88.78 MB / 0.7305 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.6703/0.8752, allocations: 152.7 MB / 0.8796 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.8795, allocations: 2.47 MB / 0.882 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009073/0.8804, allocations: 34 kB / 0.882 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.8813, allocations: 237.8 kB / 0.8822 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.8847, allocations: 1.04 MB / 0.8832 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.8866, allocations: 0.6377 MB / 0.8839 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.8883, allocations: 1.083 MB / 0.8849 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.8885, allocations: 76.06 kB / 0.885 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.8904, allocations: 0.7241 MB / 0.8857 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006974/0.8911, allocations: 313 kB / 0.886 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.8913, allocations: 39.19 kB / 0.886 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.8934, allocations: 0.7039 MB / 0.8867 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.8935, allocations: 111.9 kB / 0.8868 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.8938, allocations: 245.9 kB / 0.8871 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.8963, allocations: 1.186 MB / 0.8882 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.8963, allocations: 0 / 0.8882 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.308e-06/0.8963, allocations: 2.281 kB / 0.8882 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.8963, allocations: 0 / 0.8882 GB, free: 11.96 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.002426/0.8987, allocations: 0.9288 MB / 0.8891 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.8988, allocations: 8.5 kB / 0.8891 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.8989, allocations: 80.81 kB / 0.8892 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.8996, allocations: 132.2 kB / 0.8893 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.9005, allocations: 463.5 kB / 0.8898 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.9006, allocations: 89.03 kB / 0.8899 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.9007, allocations: 38.59 kB / 0.8899 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.9014, allocations: 0.6398 MB / 0.8905 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.9015, allocations: 3.938 kB / 0.8905 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.9015, allocations: 21.25 kB / 0.8906 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.9015, allocations: 11.06 kB / 0.8906 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.902, allocations: 328 kB / 0.8909 GB, free: 10.29 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.002427/0.9045, allocations: 1.609 MB / 0.8925 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.9049, allocations: 231.2 kB / 0.8927 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.905, allocations: 108.2 kB / 0.8928 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.9053, allocations: 48.41 kB / 0.8928 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.9053, allocations: 41.23 kB / 0.8929 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.9053, allocations: 3.938 kB / 0.8929 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29): time 0.0006824/0.906, allocations: 415.8 kB / 0.8933 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.906, allocations: 57.66 kB / 0.8933 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.9065, allocations: 0.5121 MB / 0.8938 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.9065, allocations: 36.27 kB / 0.8939 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.9067, allocations: 282.2 kB / 0.8941 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.9068, allocations: 107.8 kB / 0.8942 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.9069, allocations: 99.2 kB / 0.8943 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.907, allocations: 359.5 kB / 0.8947 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.9072, allocations: 94.17 kB / 0.8948 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.9074, allocations: 172.4 kB / 0.8949 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.9077, allocations: 274.9 kB / 0.8952 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9077, allocations: 0 / 0.8952 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005152/0.9082, allocations: 407.3 kB / 0.8956 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.9083, allocations: 5.719 kB / 0.8956 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9083, allocations: 2.625 kB / 0.8956 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.9083, allocations: 2.531 kB / 0.8956 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.9085, allocations: 98.91 kB / 0.8957 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9085, allocations: 6.75 kB / 0.8957 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.9087, allocations: 43.3 kB / 0.8957 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.9087, allocations: 45.58 kB / 0.8958 GB, free: 6.941 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.0001586/0.9089, allocations: 176.9 kB / 0.8959 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.909, allocations: 62.33 kB / 0.896 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/0.9098, allocations: 0.6319 MB / 0.8966 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9098, allocations: 2.25 kB / 0.8966 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9098, allocations: 2.562 kB / 0.8966 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9098, allocations: 0 / 0.8966 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/0.9107, allocations: 0.7817 MB / 0.8974 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9107, allocations: 0 / 0.8974 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.9109, allocations: 71 kB / 0.8974 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.911, allocations: 28.56 kB / 0.8975 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.9111, allocations: 16.17 kB / 0.8975 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/0.9114, allocations: 0.5393 MB / 0.898 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9114, allocations: 0 / 0.898 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.9119, allocations: 0.4975 MB / 0.8985 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.912, allocations: 87.33 kB / 0.8986 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.912, allocations: 15 kB / 0.8986 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.9122, allocations: 13.23 kB / 0.8986 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.9123, allocations: 25.11 kB / 0.8986 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.9123, allocations: 28.91 kB / 0.8987 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003561/0.9126, allocations: 364.5 kB / 0.899 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9126, allocations: 0 / 0.899 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007071/0.9134, allocations: 207.7 kB / 0.8992 GB, free: 4.566 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.001302/0.9147, allocations: 1.261 MB / 0.9004 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.9151, allocations: 237.4 kB / 0.9007 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9151, allocations: 2.562 kB / 0.9007 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.9153, allocations: 120 kB / 0.9008 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.9161, allocations: 236.7 kB / 0.901 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.9208, allocations: 4.211 MB / 0.9051 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.921, allocations: 247.8 kB / 0.9054 GB, free: 416 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006866/0.9217, allocations: 403 kB / 0.9057 GB, free: 220 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.922, allocations: 244.7 kB / 0.906 GB, free: 36 kB / 0.6511 GB Notification: Performance of SimCode: time 2.374e-06/0.922, allocations: 0 / 0.906 GB, free: 36 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/0.9647, allocations: 17.99 MB / 0.9235 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.893/9.857, allocations: 4.672 kB / 0.9235 GB, free: 6.891 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: 13.350018285011174]