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.001604/0.001604, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001445/0.001445, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.368/1.368, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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.096/1.096, allocations: 118.6 MB / 377.8 MB, free: 1.602 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.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 2.915e-06/2.915e-06, allocations: 0 / 0.5572 GB, free: 9.004 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.984e-05/5.276e-05, allocations: 2.281 kB / 0.5572 GB, free: 9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.943/0.943, allocations: 133.1 MB / 0.6872 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.9538, allocations: 5.378 MB / 0.6925 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.9558, allocations: 50.16 kB / 0.6925 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.9575, allocations: 342.2 kB / 0.6928 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.9631, allocations: 1.07 MB / 0.6939 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.9652, allocations: 452.9 kB / 0.6943 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.9683, allocations: 1.158 MB / 0.6954 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.9687, allocations: 94.31 kB / 0.6955 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.9706, allocations: 0.6296 MB / 0.6962 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.9717, allocations: 370.2 kB / 0.6965 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.9718, allocations: 40.16 kB / 0.6965 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.9753, allocations: 0.863 MB / 0.6974 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.9756, allocations: 121.2 kB / 0.6975 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.9762, allocations: 227 kB / 0.6977 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.9798, allocations: 1.221 MB / 0.6989 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.9798, allocations: 0 / 0.6989 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9798, allocations: 1.188 kB / 0.6989 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.9798, allocations: 0 / 0.6989 GB, free: 3.781 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002983/0.9828, allocations: 1.046 MB / 0.6999 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/0.9829, allocations: 8.25 kB / 0.6999 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.9829, allocations: 90.09 kB / 0.7 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.9832, allocations: 90.44 kB / 0.7001 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.9847, allocations: 0.5394 MB / 0.7006 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.9849, allocations: 197.6 kB / 0.7008 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.9849, allocations: 48.38 kB / 0.7009 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.9859, allocations: 0.5322 MB / 0.7014 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.986, allocations: 0 / 0.7014 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.986, allocations: 21.69 kB / 0.7014 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.986, allocations: 10.31 kB / 0.7014 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.9868, allocations: 451.5 kB / 0.7019 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.9895, allocations: 1.51 MB / 0.7033 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.9904, allocations: 313.3 kB / 0.7036 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.9907, allocations: 172.5 kB / 0.7038 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.9913, allocations: 177.7 kB / 0.704 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.9913, allocations: 38.03 kB / 0.704 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 2.935e-06/0.9913, allocations: 0 / 0.704 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001398/0.9927, allocations: 0.5389 MB / 0.7045 GB, free: 420 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.9928, allocations: 60.2 kB / 0.7046 GB, free: 352 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.9936, allocations: 0.6154 MB / 0.7052 GB, free: 15.98 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.9937, allocations: 39.86 kB / 0.7052 GB, free: 15.94 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.9939, allocations: 314.2 kB / 0.7055 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.994, allocations: 144 kB / 0.7057 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.9941, allocations: 75.64 kB / 0.7057 GB, free: 15.49 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9943, allocations: 320.2 kB / 0.706 GB, free: 15.17 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.9946, allocations: 120 kB / 0.7062 GB, free: 15.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.9948, allocations: 160.5 kB / 0.7063 GB, free: 15.01 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.9953, allocations: 291.2 kB / 0.7066 GB, free: 14.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.9953, allocations: 0 / 0.7066 GB, free: 14.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008177/0.9962, allocations: 448.1 kB / 0.707 GB, free: 14.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.9962, allocations: 8.781 kB / 0.707 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.9962, allocations: 6.984 kB / 0.707 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/0.9969, allocations: 73.89 kB / 0.7071 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.9972, allocations: 90.36 kB / 0.7072 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005002/0.9977, allocations: 0.5681 MB / 0.7077 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.9981, allocations: 48.8 kB / 0.7078 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.9981, allocations: 15.09 kB / 0.7078 GB, free: 13.95 MB / 0.573 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.0002455/0.9984, allocations: 180.1 kB / 0.708 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.9985, allocations: 78.33 kB / 0.708 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.9997, allocations: 0.642 MB / 0.7087 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.9997, allocations: 2.25 kB / 0.7087 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9997, allocations: 0 / 0.7087 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9998, allocations: 3.984 kB / 0.7087 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/1.001, allocations: 0.8829 MB / 0.7095 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.001, allocations: 5.188 kB / 0.7095 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.001, allocations: 60.05 kB / 0.7096 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/1.002, allocations: 80.89 kB / 0.7097 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/1.002, allocations: 16.83 kB / 0.7097 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/1.002, allocations: 0.5718 MB / 0.7103 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.002, allocations: 3.938 kB / 0.7103 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008981/1.003, allocations: 0.5924 MB / 0.7108 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/1.003, allocations: 99.12 kB / 0.7109 GB, free: 11.47 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/1.004, allocations: 17.23 kB / 0.7109 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.004, allocations: 18.77 kB / 0.711 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.004, allocations: 24.31 kB / 0.711 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/1.004, allocations: 19.39 kB / 0.711 GB, free: 11.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00052/1.005, allocations: 483.3 kB / 0.7115 GB, free: 11.15 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 0 / 0.7115 GB, free: 11.15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009243/1.005, allocations: 225.8 kB / 0.7117 GB, free: 11.09 MB / 0.573 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.002065/1.008, allocations: 1.402 MB / 0.713 GB, free: 10.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009252/1.008, allocations: 286.7 kB / 0.7133 GB, free: 9.902 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.008, allocations: 0 / 0.7133 GB, free: 9.902 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/1.009, allocations: 134.2 kB / 0.7135 GB, free: 9.844 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.01, allocations: 370.7 kB / 0.7138 GB, free: 9.668 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/1.019, allocations: 5.045 MB / 0.7187 GB, free: 6.398 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.019, allocations: 291.2 kB / 0.719 GB, free: 6.215 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006901/1.02, allocations: 128.3 kB / 0.7191 GB, free: 6.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/1.02, allocations: 253.7 kB / 0.7194 GB, free: 5.957 MB / 0.573 GB Notification: Performance of SimCode: time 2.645e-06/1.02, allocations: 0 / 0.7194 GB, free: 5.957 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/1.089, allocations: 23 MB / 0.7418 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.81, allocations: 7.797 kB / 0.7418 GB, free: 7.703 MB / 0.5886 GB " [Timeout remaining time 648] (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: 16.343754210000043]