Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.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.0008364/0.0008364, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008579/0.0008579, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9355/0.9355, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.7357/0.7357, allocations: 118.6 MB / 377.8 MB, free: 1.59 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.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5572 GB, free: 9.008 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.666e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.004 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.4837/0.4838, allocations: 164.1 MB / 0.7175 GB, free: 7.098 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.4866, allocations: 2.343 MB / 0.7198 GB, free: 5.234 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.4869, allocations: 39.75 kB / 0.7198 GB, free: 5.211 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.4878, allocations: 304 kB / 0.7201 GB, free: 4.969 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.4889, allocations: 0.7115 MB / 0.7208 GB, free: 4.398 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.491, allocations: 1.038 MB / 0.7218 GB, free: 3.637 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007516/0.4918, allocations: 0.9994 MB / 0.7228 GB, free: 3.023 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.492, allocations: 94.31 kB / 0.7229 GB, free: 2.969 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.4931, allocations: 0.8031 MB / 0.7237 GB, free: 2.465 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.4935, allocations: 304.1 kB / 0.724 GB, free: 2.312 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.4935, allocations: 34.03 kB / 0.724 GB, free: 2.312 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008201/0.4943, allocations: 0.6343 MB / 0.7246 GB, free: 2.031 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.4944, allocations: 102.9 kB / 0.7247 GB, free: 1.945 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.4945, allocations: 185 kB / 0.7249 GB, free: 1.863 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.4955, allocations: 1.089 MB / 0.7259 GB, free: 1.203 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4955, allocations: 4 kB / 0.726 GB, free: 1.199 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4955, allocations: 0 / 0.726 GB, free: 1.199 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.4955, allocations: 0 / 0.726 GB, free: 1.199 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00105/0.4966, allocations: 0.9096 MB / 0.7268 GB, free: 488 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4966, allocations: 11.22 kB / 0.7268 GB, free: 488 kB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.4967, allocations: 83.95 kB / 0.7269 GB, free: 408 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.497, allocations: 96.28 kB / 0.727 GB, free: 356 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.4977, allocations: 456.7 kB / 0.7275 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4977, allocations: 31.34 kB / 0.7275 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.4977, allocations: 39.97 kB / 0.7275 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.4982, allocations: 448 kB / 0.728 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4982, allocations: 4 kB / 0.728 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.4982, allocations: 16.97 kB / 0.728 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4982, allocations: 14.88 kB / 0.728 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.4985, allocations: 250.6 kB / 0.7282 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.5, allocations: 1.349 MB / 0.7295 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.5003, allocations: 187.4 kB / 0.7297 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.5004, allocations: 59.7 kB / 0.7298 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.5005, allocations: 12.2 kB / 0.7298 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.5005, allocations: 39.69 kB / 0.7298 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.5005, allocations: 0 / 0.7298 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0005314/0.501, allocations: 294.8 kB / 0.7301 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.501, allocations: 91.23 kB / 0.7302 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.5014, allocations: 0.497 MB / 0.7307 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5015, allocations: 29.7 kB / 0.7307 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5016, allocations: 318.9 kB / 0.731 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.5016, allocations: 59.52 kB / 0.7311 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.5017, allocations: 61.45 kB / 0.7311 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5018, allocations: 361.5 kB / 0.7315 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.5019, allocations: 52.3 kB / 0.7315 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.502, allocations: 119.9 kB / 0.7316 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.5023, allocations: 187.6 kB / 0.7318 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5023, allocations: 2.812 kB / 0.7318 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004105/0.5027, allocations: 308.5 kB / 0.7321 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5027, allocations: 9.469 kB / 0.7321 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5027, allocations: 2.5 kB / 0.7321 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.5029, allocations: 39.73 kB / 0.7322 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.5031, allocations: 100.5 kB / 0.7323 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.5049, allocations: 3.201 MB / 0.7354 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.505, allocations: 31.64 kB / 0.7354 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.5051, allocations: 32.28 kB / 0.7354 GB, free: 9.219 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.5052, allocations: 166.7 kB / 0.7356 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.5053, allocations: 60.3 kB / 0.7357 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/0.5061, allocations: 0.6189 MB / 0.7363 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5061, allocations: 3 kB / 0.7363 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5061, allocations: 0.875 kB / 0.7363 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5061, allocations: 0 / 0.7363 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/0.5068, allocations: 0.7928 MB / 0.737 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5068, allocations: 0 / 0.737 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.507, allocations: 75.08 kB / 0.7371 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.554e-05/0.5071, allocations: 32.98 kB / 0.7371 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.5071, allocations: 18.92 kB / 0.7372 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.5086, allocations: 3.189 MB / 0.7403 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5086, allocations: 2.625 kB / 0.7403 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.5092, allocations: 409.2 kB / 0.7407 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.5093, allocations: 69.92 kB / 0.7407 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.5093, allocations: 2.219 kB / 0.7407 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5094, allocations: 10.77 kB / 0.7408 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.5095, allocations: 26.48 kB / 0.7408 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.5095, allocations: 26.52 kB / 0.7408 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002467/0.5097, allocations: 358.8 kB / 0.7411 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5097, allocations: 3.938 kB / 0.7411 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003953/0.5101, allocations: 174.4 kB / 0.7413 GB, free: 4.113 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007872/0.5109, allocations: 1.134 MB / 0.7424 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005725/0.5115, allocations: 304.8 kB / 0.7427 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5115, allocations: 2.938 kB / 0.7427 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.5117, allocations: 224.8 kB / 0.7429 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.5124, allocations: 220.5 kB / 0.7431 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.5157, allocations: 3.792 MB / 0.7468 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.5158, allocations: 255.6 kB / 0.7471 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000406/0.5162, allocations: 387.1 kB / 0.7475 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.5165, allocations: 241.2 kB / 0.7477 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.5165, allocations: 6.906 kB / 0.7477 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.5456, allocations: 16.46 MB / 0.7638 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.035, allocations: 7.922 kB / 0.7638 GB, free: 3.062 MB / 0.6042 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_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.Tests.Inversion.Inversion1_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.952933583408594]