Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.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.0009778/0.0009778, 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.0008845/0.0008845, 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.9595/0.9595, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.7134/0.7134, allocations: 118.6 MB / 378.2 MB, free: 1.469 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.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 482.4 MB, free: 8.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.091e-05, allocations: 2.312 kB / 482.5 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.1249/0.1249, allocations: 133.1 MB / 0.6011 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.1296, allocations: 5.371 MB / 0.6064 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.13, allocations: 47.5 kB / 0.6064 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.1308, allocations: 349.5 kB / 0.6067 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.1325, allocations: 1.068 MB / 0.6078 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.1332, allocations: 458.3 kB / 0.6082 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.1341, allocations: 1.155 MB / 0.6094 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1342, allocations: 93.25 kB / 0.6094 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/0.1349, allocations: 0.6424 MB / 0.6101 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.1352, allocations: 370.9 kB / 0.6104 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.1352, allocations: 40 kB / 0.6105 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.1362, allocations: 0.8534 MB / 0.6113 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.1363, allocations: 123.3 kB / 0.6114 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.1365, allocations: 227.3 kB / 0.6116 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1375, allocations: 1.219 MB / 0.6128 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1375, allocations: 0 / 0.6128 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1375, allocations: 3.938 kB / 0.6128 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1375, allocations: 4 kB / 0.6128 GB, free: 15.88 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001155/0.1387, allocations: 1.037 MB / 0.6138 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1387, allocations: 8.031 kB / 0.6139 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.1388, allocations: 90.7 kB / 0.6139 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.1389, allocations: 132.4 kB / 0.6141 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/0.1396, allocations: 0.5791 MB / 0.6146 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.1397, allocations: 203.7 kB / 0.6148 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.1398, allocations: 52.31 kB / 0.6149 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.1404, allocations: 0.5242 MB / 0.6154 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1404, allocations: 4 kB / 0.6154 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.1404, allocations: 31.97 kB / 0.6154 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1404, allocations: 8 kB / 0.6154 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.141, allocations: 451.7 kB / 0.6159 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1426, allocations: 1.524 MB / 0.6173 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.1433, allocations: 318.6 kB / 0.6176 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.1435, allocations: 165.8 kB / 0.6178 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.1439, allocations: 179.8 kB / 0.618 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1439, allocations: 38.56 kB / 0.618 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.1439, allocations: 0 / 0.618 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.001075/0.145, allocations: 0.5605 MB / 0.6186 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.145, allocations: 55.41 kB / 0.6186 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.1455, allocations: 0.6101 MB / 0.6192 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1455, allocations: 33.7 kB / 0.6192 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.1457, allocations: 312.8 kB / 0.6195 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.1458, allocations: 146.7 kB / 0.6197 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.1459, allocations: 86.12 kB / 0.6198 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.1459, allocations: 318 kB / 0.6201 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1461, allocations: 108.9 kB / 0.6202 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1464, allocations: 169.2 kB / 0.6203 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.1468, allocations: 288.6 kB / 0.6206 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1468, allocations: 4 kB / 0.6206 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006128/0.1474, allocations: 460.6 kB / 0.6211 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1475, allocations: 8 kB / 0.6211 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1475, allocations: 0 / 0.6211 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.1479, allocations: 80.92 kB / 0.6211 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1481, allocations: 95.81 kB / 0.6212 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003888/0.1485, allocations: 0.564 MB / 0.6218 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.1486, allocations: 55.64 kB / 0.6218 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.1487, allocations: 16 kB / 0.6218 GB, free: 6.309 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (46): * Single equations (assignments): 45 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.1489, allocations: 181.8 kB / 0.622 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.1489, allocations: 91.48 kB / 0.6221 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008583/0.1498, allocations: 0.6431 MB / 0.6227 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1498, allocations: 4 kB / 0.6227 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1498, allocations: 0 / 0.6227 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1498, allocations: 7.938 kB / 0.6227 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1508, allocations: 0.8874 MB / 0.6236 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1509, allocations: 8.062 kB / 0.6236 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.151, allocations: 47.97 kB / 0.6237 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.1513, allocations: 88.75 kB / 0.6238 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1513, allocations: 8 kB / 0.6238 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000298/0.1516, allocations: 0.5719 MB / 0.6243 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1516, allocations: 7.938 kB / 0.6243 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.1524, allocations: 0.5941 MB / 0.6249 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1525, allocations: 95.58 kB / 0.625 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.1525, allocations: 15.94 kB / 0.625 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1527, allocations: 15.98 kB / 0.625 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.1528, allocations: 35.8 kB / 0.6251 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1528, allocations: 12 kB / 0.6251 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003903/0.1532, allocations: 475 kB / 0.6255 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1532, allocations: 3.938 kB / 0.6255 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004782/0.1536, allocations: 227.5 kB / 0.6257 GB, free: 2.117 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (adiabaticFilter.dp) * 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 (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.155, allocations: 1.419 MB / 0.6271 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007017/0.1557, allocations: 276.8 kB / 0.6274 GB, free: 380 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1557, allocations: 0 / 0.6274 GB, free: 380 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1559, allocations: 133.7 kB / 0.6275 GB, free: 248 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009646/0.1569, allocations: 367.2 kB / 0.6279 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.1621, allocations: 5.098 MB / 0.6329 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1623, allocations: 289.3 kB / 0.6331 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.1627, allocations: 130.9 kB / 0.6333 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.1629, allocations: 248.4 kB / 0.6335 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of SimCode: time 1.583e-06/0.1629, allocations: 0 / 0.6335 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/0.3607, allocations: 23.38 MB / 0.6563 GB, free: 166.3 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.323/8.684, allocations: 8 kB / 0.6563 GB, free: 166.3 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_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.Processes.Adiabatic.Fixed3_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_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_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.467315986054018]