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.001442/0.001442, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.002435/0.002435, allocations: 173.9 kB / 22.46 MB, free: 2.09 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 1.285/1.285, allocations: 177.2 MB / 202.8 MB, free: 5.73 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 1.027/1.027, allocations: 118.6 MB / 377.8 MB, free: 1.586 MB / 346.7 MB " [Timeout remaining time 178] 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 2.906e-06/2.906e-06, allocations: 0 / 0.5572 GB, free: 9.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.351e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.059 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.9945/0.9945, allocations: 152.6 MB / 0.7062 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.006942/1.001, allocations: 2.477 MB / 0.7086 GB, free: 13.88 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009097/1.002, allocations: 34.53 kB / 0.7087 GB, free: 13.86 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/1.004, allocations: 242 kB / 0.7089 GB, free: 13.73 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003781/1.007, allocations: 1.053 MB / 0.7099 GB, free: 13.13 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/1.01, allocations: 0.6646 MB / 0.7106 GB, free: 12.68 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001674/1.012, allocations: 1.113 MB / 0.7117 GB, free: 12 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/1.012, allocations: 67.28 kB / 0.7117 GB, free: 11.97 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/1.014, allocations: 0.8939 MB / 0.7126 GB, free: 11.41 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/1.015, allocations: 263 kB / 0.7128 GB, free: 11.27 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/1.015, allocations: 37.75 kB / 0.7129 GB, free: 11.27 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/1.017, allocations: 0.7016 MB / 0.7136 GB, free: 10.95 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/1.017, allocations: 115 kB / 0.7137 GB, free: 10.86 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/1.017, allocations: 208.1 kB / 0.7139 GB, free: 10.76 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/1.019, allocations: 1.234 MB / 0.7151 GB, free: 10.01 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.019, allocations: 0 / 0.7151 GB, free: 10.01 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.198e-06/1.019, allocations: 0 / 0.7151 GB, free: 10.01 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.019, allocations: 0 / 0.7151 GB, free: 10.01 MB / 0.573 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.001892/1.021, allocations: 0.9313 MB / 0.716 GB, free: 9.281 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 9.416e-05/1.021, allocations: 8.375 kB / 0.716 GB, free: 9.281 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/1.021, allocations: 78.41 kB / 0.7161 GB, free: 9.211 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/1.022, allocations: 139.7 kB / 0.7162 GB, free: 9.137 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/1.023, allocations: 454.6 kB / 0.7166 GB, free: 8.777 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.023, allocations: 84.88 kB / 0.7167 GB, free: 8.699 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/1.023, allocations: 38.62 kB / 0.7168 GB, free: 8.688 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/1.024, allocations: 0.6462 MB / 0.7174 GB, free: 8.16 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.024, allocations: 2.719 kB / 0.7174 GB, free: 8.16 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/1.024, allocations: 16.88 kB / 0.7174 GB, free: 8.148 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/1.024, allocations: 8.219 kB / 0.7174 GB, free: 8.148 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/1.025, allocations: 328.4 kB / 0.7177 GB, free: 8 MB / 0.573 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.003145/1.028, allocations: 1.63 MB / 0.7193 GB, free: 6.711 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/1.028, allocations: 216 kB / 0.7195 GB, free: 6.598 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/1.029, allocations: 111.1 kB / 0.7196 GB, free: 6.543 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/1.029, allocations: 50.3 kB / 0.7197 GB, free: 6.523 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.391e-05/1.029, allocations: 46.72 kB / 0.7197 GB, free: 6.477 MB / 0.573 GB Notification: Performance of pre-optimization done (n=29): time 3.256e-06/1.029, allocations: 0 / 0.7197 GB, free: 6.477 MB / 0.573 GB Notification: Performance of matching and sorting (n=29): time 0.001012/1.03, allocations: 404.5 kB / 0.7201 GB, free: 6.285 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.03, allocations: 53.84 kB / 0.7202 GB, free: 6.223 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/1.031, allocations: 0.5171 MB / 0.7207 GB, free: 5.906 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/1.031, allocations: 29.7 kB / 0.7207 GB, free: 5.871 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/1.031, allocations: 282.1 kB / 0.721 GB, free: 5.621 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/1.031, allocations: 112.2 kB / 0.7211 GB, free: 5.523 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.031, allocations: 92.33 kB / 0.7212 GB, free: 5.469 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.031, allocations: 368.1 kB / 0.7215 GB, free: 5.113 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.031, allocations: 90.36 kB / 0.7216 GB, free: 5.074 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/1.032, allocations: 179 kB / 0.7218 GB, free: 4.934 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/1.032, allocations: 278.4 kB / 0.722 GB, free: 4.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.032, allocations: 0 / 0.722 GB, free: 4.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006533/1.033, allocations: 399.5 kB / 0.7224 GB, free: 4.555 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.033, allocations: 8.906 kB / 0.7224 GB, free: 4.551 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.033, allocations: 3.25 kB / 0.7224 GB, free: 4.551 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.033, allocations: 2.906 kB / 0.7224 GB, free: 4.551 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.033, allocations: 104.8 kB / 0.7225 GB, free: 4.523 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.033, allocations: 2.844 kB / 0.7225 GB, free: 4.523 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/1.033, allocations: 48.97 kB / 0.7226 GB, free: 4.488 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/1.033, allocations: 41.36 kB / 0.7226 GB, free: 4.484 MB / 0.573 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.0001974/1.034, allocations: 166.6 kB / 0.7228 GB, free: 4.332 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/1.034, allocations: 65.91 kB / 0.7228 GB, free: 4.297 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.035, allocations: 0.615 MB / 0.7234 GB, free: 3.965 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.035, allocations: 6.016 kB / 0.7234 GB, free: 3.961 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.035, allocations: 6.969 kB / 0.7235 GB, free: 3.957 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-06/1.035, allocations: 3.984 kB / 0.7235 GB, free: 3.953 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/1.036, allocations: 0.7854 MB / 0.7242 GB, free: 3.367 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.036, allocations: 0 / 0.7242 GB, free: 3.367 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/1.036, allocations: 66.06 kB / 0.7243 GB, free: 3.352 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/1.037, allocations: 29.19 kB / 0.7243 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/1.037, allocations: 15.52 kB / 0.7243 GB, free: 3.328 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004629/1.037, allocations: 0.5433 MB / 0.7249 GB, free: 2.785 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/1.037, allocations: 0 / 0.7249 GB, free: 2.785 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/1.038, allocations: 0.5 MB / 0.7253 GB, free: 2.465 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/1.038, allocations: 87.55 kB / 0.7254 GB, free: 2.402 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/1.038, allocations: 11.59 kB / 0.7254 GB, free: 2.395 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/1.038, allocations: 13.17 kB / 0.7255 GB, free: 2.387 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/1.038, allocations: 29.31 kB / 0.7255 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/1.038, allocations: 31.83 kB / 0.7255 GB, free: 2.363 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003774/1.038, allocations: 358.7 kB / 0.7259 GB, free: 2.156 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/1.038, allocations: 4.156 kB / 0.7259 GB, free: 2.152 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007858/1.039, allocations: 212.7 kB / 0.7261 GB, free: 2.098 MB / 0.573 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.001551/1.041, allocations: 1.258 MB / 0.7273 GB, free: 1.148 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004463/1.041, allocations: 242.7 kB / 0.7275 GB, free: 1.051 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.041, allocations: 2 kB / 0.7275 GB, free: 1.051 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/1.042, allocations: 120.4 kB / 0.7276 GB, free: 1.004 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009073/1.043, allocations: 243.4 kB / 0.7279 GB, free: 0.8867 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/1.049, allocations: 4.122 MB / 0.7319 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/1.049, allocations: 247.9 kB / 0.7321 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006969/1.05, allocations: 417.5 kB / 0.7325 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/1.05, allocations: 241.5 kB / 0.7328 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/1.05, allocations: 0 / 0.7328 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05567/1.106, allocations: 18.11 MB / 0.7505 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.41, allocations: 6.688 kB / 0.7505 GB, free: 1.387 MB / 0.5886 GB " [Timeout remaining time 647] (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: 16.950634507462382]