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.0008076/0.0008076, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 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.0008385/0.0008385, allocations: 161.3 kB / 22.76 MB, free: 1.672 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.8923/0.8923, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.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.6516/0.6516, allocations: 118.7 MB / 378.2 MB, free: 1.473 MB / 346.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 1.042e-06/1.042e-06, allocations: 0 / 482.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.742e-05, allocations: 2.312 kB / 482.4 MB, free: 8.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.1279/0.1279, allocations: 152.6 MB / 0.6201 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.1307, allocations: 2.486 MB / 0.6225 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.1309, allocations: 35.69 kB / 0.6226 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.1315, allocations: 242.1 kB / 0.6228 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1331, allocations: 1.056 MB / 0.6238 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009369/0.134, allocations: 0.6576 MB / 0.6245 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.1347, allocations: 1.113 MB / 0.6256 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1348, allocations: 67.59 kB / 0.6256 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1359, allocations: 0.8877 MB / 0.6265 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1361, allocations: 267.1 kB / 0.6268 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.1361, allocations: 40 kB / 0.6268 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007498/0.1369, allocations: 0.7057 MB / 0.6275 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/0.137, allocations: 119.4 kB / 0.6276 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1371, allocations: 203.5 kB / 0.6278 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1384, allocations: 1.231 MB / 0.629 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1384, allocations: 4 kB / 0.629 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1384, allocations: 0 / 0.629 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1384, allocations: 0 / 0.629 GB, free: 15.3 MB / 0.5573 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.001065/0.1395, allocations: 0.9283 MB / 0.6299 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1395, allocations: 8.031 kB / 0.6299 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.1396, allocations: 82.53 kB / 0.63 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.1401, allocations: 191.2 kB / 0.6302 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.1407, allocations: 490.6 kB / 0.6306 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.1408, allocations: 88.39 kB / 0.6307 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.675e-05/0.1409, allocations: 51.94 kB / 0.6308 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.1415, allocations: 0.6412 MB / 0.6314 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1415, allocations: 0 / 0.6314 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1415, allocations: 16 kB / 0.6314 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1415, allocations: 15.94 kB / 0.6314 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1419, allocations: 327.7 kB / 0.6317 GB, free: 12.34 MB / 0.5573 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.001729/0.1436, allocations: 1.631 MB / 0.6333 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1439, allocations: 221.4 kB / 0.6335 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1441, allocations: 113.3 kB / 0.6337 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.1442, allocations: 60.55 kB / 0.6337 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1442, allocations: 38.56 kB / 0.6338 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=29): time 1.402e-06/0.1442, allocations: 0 / 0.6338 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29): time 0.0006648/0.1449, allocations: 415.7 kB / 0.6341 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1449, allocations: 55.41 kB / 0.6342 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.1453, allocations: 0.5108 MB / 0.6347 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1454, allocations: 33.7 kB / 0.6347 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1455, allocations: 292.3 kB / 0.635 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.1456, allocations: 103.1 kB / 0.6351 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1457, allocations: 93.61 kB / 0.6352 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003633/0.1461, allocations: 362.8 kB / 0.6355 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1462, allocations: 91.95 kB / 0.6356 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1464, allocations: 176.5 kB / 0.6358 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.1467, allocations: 274.7 kB / 0.6361 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1467, allocations: 0 / 0.6361 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004475/0.1471, allocations: 414.3 kB / 0.6365 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1471, allocations: 4 kB / 0.6365 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1471, allocations: 4 kB / 0.6365 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1471, allocations: 4 kB / 0.6365 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1473, allocations: 103.8 kB / 0.6366 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1473, allocations: 4 kB / 0.6366 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1475, allocations: 43.67 kB / 0.6366 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.1476, allocations: 43.98 kB / 0.6367 GB, free: 7.094 MB / 0.5573 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.0001437/0.1477, allocations: 170 kB / 0.6368 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.1478, allocations: 75.55 kB / 0.6369 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.1485, allocations: 0.6284 MB / 0.6375 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1485, allocations: 7.938 kB / 0.6375 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1485, allocations: 4 kB / 0.6375 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1486, allocations: 0 / 0.6375 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.1493, allocations: 0.7766 MB / 0.6383 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1493, allocations: 0 / 0.6383 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1495, allocations: 67.91 kB / 0.6383 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.1496, allocations: 28.84 kB / 0.6384 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1496, allocations: 15.98 kB / 0.6384 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002563/0.1499, allocations: 0.5444 MB / 0.6389 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1499, allocations: 4.031 kB / 0.6389 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.1504, allocations: 0.5021 MB / 0.6394 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1505, allocations: 95.48 kB / 0.6395 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.1505, allocations: 4 kB / 0.6395 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1507, allocations: 15.98 kB / 0.6395 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1507, allocations: 31.94 kB / 0.6395 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1508, allocations: 24 kB / 0.6396 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000282/0.151, allocations: 366.8 kB / 0.6399 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.151, allocations: 4.156 kB / 0.6399 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004109/0.1515, allocations: 203.6 kB / 0.6401 GB, free: 3.426 MB / 0.5573 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.001008/0.1525, allocations: 1.264 MB / 0.6414 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.1528, allocations: 248.1 kB / 0.6416 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1528, allocations: 4.062 kB / 0.6416 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.153, allocations: 116.3 kB / 0.6417 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.1536, allocations: 257.5 kB / 0.6419 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1544/0.3081, allocations: 4.174 MB / 0.646 GB, free: 170.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3083, allocations: 244.9 kB / 0.6463 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007595/0.309, allocations: 411.2 kB / 0.6467 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.3093, allocations: 245.8 kB / 0.6469 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/0.3093, allocations: 0.8438 kB / 0.6469 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.3446, allocations: 18.42 MB / 0.6649 GB, free: 166 MB / 0.5573 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.884, allocations: 5.594 kB / 0.6649 GB, free: 166 MB / 0.5573 GB " [Timeout remaining time 651] (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: 11.357629607999115]