Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.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.0009494/0.0009494, 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.001164/0.001164, allocations: 157.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.9431/0.9431, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.6893/0.6893, allocations: 118.6 MB / 378.2 MB, free: 1.48 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.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 482.4 MB, free: 8.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.83e-05, allocations: 2.312 kB / 482.4 MB, free: 8.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.1245/0.1245, allocations: 128.5 MB / 0.5965 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.125, allocations: 382.6 kB / 0.5969 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.125, allocations: 0 / 0.5969 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1253, allocations: 19.84 kB / 0.5969 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.1257, allocations: 143.2 kB / 0.5971 GB, free: 120 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1259, allocations: 115.6 kB / 0.5972 GB, free: 4 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1261, allocations: 135.4 kB / 0.5973 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.1262, allocations: 4 kB / 0.5973 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1263, allocations: 95.66 kB / 0.5974 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.1264, allocations: 35.89 kB / 0.5974 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1264, allocations: 8 kB / 0.5974 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1267, allocations: 167.7 kB / 0.5976 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1267, allocations: 15.98 kB / 0.5976 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1268, allocations: 27.91 kB / 0.5976 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.127, allocations: 223.5 kB / 0.5978 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.127, allocations: 0 / 0.5978 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.127, allocations: 0 / 0.5978 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.127, allocations: 0 / 0.5978 GB, free: 15.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003795/0.1274, allocations: 298 kB / 0.5981 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1275, allocations: 8.031 kB / 0.5981 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1275, allocations: 46.73 kB / 0.5982 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.1278, allocations: 56.72 kB / 0.5982 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1281, allocations: 125.7 kB / 0.5984 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1281, allocations: 11.92 kB / 0.5984 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1281, allocations: 8 kB / 0.5984 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.1283, allocations: 192.7 kB / 0.5986 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1283, allocations: 0 / 0.5986 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1283, allocations: 3.984 kB / 0.5986 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1283, allocations: 8 kB / 0.5986 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1284, allocations: 63.91 kB / 0.5986 GB, free: 14.41 MB / 0.5261 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.0006103/0.1291, allocations: 496.5 kB / 0.5991 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1292, allocations: 74.58 kB / 0.5992 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.1292, allocations: 28.89 kB / 0.5992 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1293, allocations: 4 kB / 0.5992 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1293, allocations: 30.56 kB / 0.5992 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.1293, allocations: 4 kB / 0.5992 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002293/0.1295, allocations: 117.5 kB / 0.5994 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.1296, allocations: 55.41 kB / 0.5994 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.1296, allocations: 106 kB / 0.5995 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1296, allocations: 29.64 kB / 0.5995 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1299, allocations: 107.9 kB / 0.5996 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1299, allocations: 27.78 kB / 0.5997 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.1299, allocations: 25.7 kB / 0.5997 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.13, allocations: 318.8 kB / 0.6 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.13, allocations: 23.98 kB / 0.6 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.1301, allocations: 65.12 kB / 0.6001 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1302, allocations: 105.3 kB / 0.6002 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1302, allocations: 0 / 0.6002 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001625/0.1304, allocations: 129.6 kB / 0.6003 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1304, allocations: 4 kB / 0.6003 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1304, allocations: 4 kB / 0.6003 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1304, allocations: 3.938 kB / 0.6003 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1306, allocations: 55.95 kB / 0.6004 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002685/0.1308, allocations: 0.5938 MB / 0.6009 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.1309, allocations: 11.95 kB / 0.601 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1309, allocations: 8 kB / 0.601 GB, free: 11.83 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.131, allocations: 121.9 kB / 0.6011 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.131, allocations: 7.938 kB / 0.6011 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.1312, allocations: 126 kB / 0.6012 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1312, allocations: 0 / 0.6012 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1312, allocations: 4 kB / 0.6012 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1312, allocations: 0 / 0.6012 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1314, allocations: 175.8 kB / 0.6014 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1314, allocations: 0 / 0.6014 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1315, allocations: 51.95 kB / 0.6014 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1315, allocations: 0 / 0.6014 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1315, allocations: 4 kB / 0.6014 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002011/0.1317, allocations: 0.6015 MB / 0.602 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1317, allocations: 0 / 0.602 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.1319, allocations: 191.5 kB / 0.6022 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.1319, allocations: 3.953 kB / 0.6022 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1319, allocations: 4 kB / 0.6022 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.132, allocations: 7.984 kB / 0.6022 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.132, allocations: 4 kB / 0.6022 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.132, allocations: 15.98 kB / 0.6022 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.132, allocations: 87.75 kB / 0.6023 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.132, allocations: 8.031 kB / 0.6023 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002126/0.1323, allocations: 31.92 kB / 0.6024 GB, free: 10.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004227/0.1327, allocations: 0.7439 MB / 0.6031 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1329, allocations: 99.89 kB / 0.6032 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1329, allocations: 0 / 0.6032 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.133, allocations: 55.91 kB / 0.6032 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1332, allocations: 30.31 kB / 0.6033 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1344, allocations: 1.474 MB / 0.6047 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.066e-05/0.1345, allocations: 71.34 kB / 0.6048 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.767e-05/0.1346, allocations: 20.7 kB / 0.6048 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.1346, allocations: 20.48 kB / 0.6048 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.1346, allocations: 0 / 0.6048 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1519, allocations: 4.409 MB / 0.6091 GB, free: 3.438 MB / 0.5261 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.229/8.38, allocations: 7.656 kB / 0.6091 GB, free: 3.434 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_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.MediumInversion_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_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_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.021455453999806]